Package psiprobe.model.jmx
Class AsyncClusterSender
- java.lang.Object
-
- psiprobe.model.jmx.ClusterSender
-
- psiprobe.model.jmx.SyncClusterSender
-
- psiprobe.model.jmx.AsyncClusterSender
-
public class AsyncClusterSender extends SyncClusterSender
The Class AsyncClusterSender.
-
-
Field Summary
Fields Modifier and Type Field Description private long
inQueueCounter
The in queue counter.private long
outQueueCounter
The out queue counter.private long
queuedNrOfBytes
The queued nr of bytes.private long
queueSize
The queue size.
-
Constructor Summary
Constructors Constructor Description AsyncClusterSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getInQueueCounter()
Gets the in queue counter.long
getOutQueueCounter()
Gets the out queue counter.long
getQueuedNrOfBytes()
Gets the queued nr of bytes.long
getQueueSize()
Gets the queue size.void
setInQueueCounter(long inQueueCounter)
Sets the in queue counter.void
setOutQueueCounter(long outQueueCounter)
Sets the out queue counter.void
setQueuedNrOfBytes(long queuedNrOfBytes)
Sets the queued nr of bytes.void
setQueueSize(long queueSize)
Sets the queue size.-
Methods inherited from class psiprobe.model.jmx.SyncClusterSender
getDataFailureCounter, getDataResendCounter, getSocketCloseCounter, getSocketOpenCounter, getSocketOpenFailureCounter, setDataFailureCounter, setDataResendCounter, setSocketCloseCounter, setSocketOpenCounter, setSocketOpenFailureCounter
-
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
-
-
-
-
Method Detail
-
getInQueueCounter
public long getInQueueCounter()
Gets the in queue counter.- Returns:
- the in queue counter
-
setInQueueCounter
public void setInQueueCounter(long inQueueCounter)
Sets the in queue counter.- Parameters:
inQueueCounter
- the new in queue counter
-
getOutQueueCounter
public long getOutQueueCounter()
Gets the out queue counter.- Returns:
- the out queue counter
-
setOutQueueCounter
public void setOutQueueCounter(long outQueueCounter)
Sets the out queue counter.- Parameters:
outQueueCounter
- the new out queue counter
-
getQueueSize
public long getQueueSize()
Gets the queue size.- Returns:
- the queue size
-
setQueueSize
public void setQueueSize(long queueSize)
Sets the queue size.- Parameters:
queueSize
- the new queue size
-
getQueuedNrOfBytes
public long getQueuedNrOfBytes()
Gets the queued nr of bytes.- Returns:
- the queued nr of bytes
-
setQueuedNrOfBytes
public void setQueuedNrOfBytes(long queuedNrOfBytes)
Sets the queued nr of bytes.- Parameters:
queuedNrOfBytes
- the new queued nr of bytes
-
-