public class NodeOnlineChecker extends Object
| Constructor and Description |
|---|
NodeOnlineChecker() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationAsString(Exchange exc,
int destination) |
LoadBalancingInterceptor |
getLbi() |
int |
getNodeCounterLimit5XX() |
Node |
getNodeFromExchange(Exchange exc,
int destination) |
int |
getPingTimeoutInSeconds() |
int |
getRetryTimeInSeconds() |
void |
handle(Exchange exc) |
void |
handleNodeBadStatusCode(Exchange exc,
int destination) |
void |
handleNodeException(Exchange exc,
int destination) |
void |
putNodesBackUp() |
void |
setLbi(LoadBalancingInterceptor lbi) |
void |
setNodeCounterLimit5XX(int nodeCounterLimit5XX) |
void |
setNodeDown(Exchange exc,
int destination) |
void |
setPingTimeoutInSeconds(int pingTimeoutInSeconds) |
void |
setRetryTimeInSeconds(int retryTimeInSeconds) |
public int getPingTimeoutInSeconds()
public void setPingTimeoutInSeconds(int pingTimeoutInSeconds)
public void handle(Exchange exc)
public void handleNodeBadStatusCode(Exchange exc, int destination)
public void handleNodeException(Exchange exc, int destination)
public void setNodeDown(Exchange exc, int destination)
public void putNodesBackUp()
public LoadBalancingInterceptor getLbi()
public void setLbi(LoadBalancingInterceptor lbi)
public int getRetryTimeInSeconds()
public void setRetryTimeInSeconds(int retryTimeInSeconds)
public int getNodeCounterLimit5XX()
public void setNodeCounterLimit5XX(int nodeCounterLimit5XX)
Copyright © 2022. All Rights Reserved.