Package psiprobe.model.jmx
Class SyncClusterSender
- java.lang.Object
-
- psiprobe.model.jmx.ClusterSender
-
- psiprobe.model.jmx.SyncClusterSender
-
- Direct Known Subclasses:
AsyncClusterSender
public class SyncClusterSender extends ClusterSender
The Class SyncClusterSender.
-
-
Field Summary
Fields Modifier and Type Field Description private long
dataFailureCounter
The data failure counter.private long
dataResendCounter
The data resend counter.private long
socketCloseCounter
The socket close counter.private long
socketOpenCounter
The socket open counter.private long
socketOpenFailureCounter
The socket open failure counter.
-
Constructor Summary
Constructors Constructor Description SyncClusterSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDataFailureCounter()
Gets the data failure counter.long
getDataResendCounter()
Gets the data resend counter.long
getSocketCloseCounter()
Gets the socket close counter.long
getSocketOpenCounter()
Gets the socket open counter.long
getSocketOpenFailureCounter()
Gets the socket open failure counter.void
setDataFailureCounter(long dataFailureCounter)
Sets the data failure counter.void
setDataResendCounter(long dataResendCounter)
Sets the data resend counter.void
setSocketCloseCounter(long socketCloseCounter)
Sets the socket close counter.void
setSocketOpenCounter(long socketOpenCounter)
Sets the socket open counter.void
setSocketOpenFailureCounter(long socketOpenFailureCounter)
Sets the socket open failure counter.-
Methods inherited from class psiprobe.model.jmx.ClusterSender
getAddress, getAvgMessageSize, getAvgProcessingTime, getConnectCounter, getDisconnectCounter, getKeepAliveTimeout, getNrOfRequests, getPort, getTotalBytes, isConnected, isResend, isSuspect, setAddress, setAvgMessageSize, setAvgProcessingTime, setConnectCounter, setConnected, setDisconnectCounter, setKeepAliveTimeout, setNrOfRequests, setPort, setResend, setSuspect, setTotalBytes
-
-
-
-
Field Detail
-
dataFailureCounter
private long dataFailureCounter
The data failure counter.
-
dataResendCounter
private long dataResendCounter
The data resend counter.
-
socketOpenCounter
private long socketOpenCounter
The socket open counter.
-
socketCloseCounter
private long socketCloseCounter
The socket close counter.
-
socketOpenFailureCounter
private long socketOpenFailureCounter
The socket open failure counter.
-
-
Method Detail
-
getDataFailureCounter
public long getDataFailureCounter()
Gets the data failure counter.- Returns:
- the data failure counter
-
setDataFailureCounter
public void setDataFailureCounter(long dataFailureCounter)
Sets the data failure counter.- Parameters:
dataFailureCounter
- the new data failure counter
-
getDataResendCounter
public long getDataResendCounter()
Gets the data resend counter.- Returns:
- the data resend counter
-
setDataResendCounter
public void setDataResendCounter(long dataResendCounter)
Sets the data resend counter.- Parameters:
dataResendCounter
- the new data resend counter
-
getSocketOpenCounter
public long getSocketOpenCounter()
Gets the socket open counter.- Returns:
- the socket open counter
-
setSocketOpenCounter
public void setSocketOpenCounter(long socketOpenCounter)
Sets the socket open counter.- Parameters:
socketOpenCounter
- the new socket open counter
-
getSocketCloseCounter
public long getSocketCloseCounter()
Gets the socket close counter.- Returns:
- the socket close counter
-
setSocketCloseCounter
public void setSocketCloseCounter(long socketCloseCounter)
Sets the socket close counter.- Parameters:
socketCloseCounter
- the new socket close counter
-
getSocketOpenFailureCounter
public long getSocketOpenFailureCounter()
Gets the socket open failure counter.- Returns:
- the socket open failure counter
-
setSocketOpenFailureCounter
public void setSocketOpenFailureCounter(long socketOpenFailureCounter)
Sets the socket open failure counter.- Parameters:
socketOpenFailureCounter
- the new socket open failure counter
-
-