public interface MonitorServiceMBean
Modifier and Type | Method and Description |
---|---|
Double |
getCurLatencyAvg()
Gets the current, i.e.
|
Double |
getCurLatencyStddev()
Gets the current, i.e.
|
Map<Long,Double> |
getLatencyAvg()
Gets average latency values of the whole Scalaris ring from the VM the
monitor is connected to.
|
Map<Long,Double> |
getLatencyStddev()
Gets the standard deviation of the latency values of the whole Scalaris
ring from the VM the monitor is connected to.
|
Long |
getNodes()
Gets the number of Scalaris nodes of the whole Scalaris ring from the VM
the monitor is connected to.
|
Long |
getTotalLoad()
Gets the total load of the whole Scalaris ring from the VM the monitor is
connected to.
|
Long getTotalLoad() throws ConnectionException, UnknownException
ConnectionException
- if the connection is not active or a communication error
occurs or an exit signal was received or the remote node
sends a message containing an invalid cookieUnknownException
- if any other error occursLong getNodes() throws ConnectionException, UnknownException
ConnectionException
- if the connection is not active or a communication error
occurs or an exit signal was received or the remote node
sends a message containing an invalid cookieUnknownException
- if any other error occursMap<Long,Double> getLatencyAvg() throws ConnectionException, UnknownException
ConnectionException
- if the connection is not active or a communication error
occurs or an exit signal was received or the remote node
sends a message containing an invalid cookieUnknownException
- if any other error occursMap<Long,Double> getLatencyStddev() throws ConnectionException, UnknownException
ConnectionException
- if the connection is not active or a communication error
occurs or an exit signal was received or the remote node
sends a message containing an invalid cookieUnknownException
- if any other error occursDouble getCurLatencyAvg() throws ConnectionException, UnknownException
ConnectionException
- if the connection is not active or a communication error
occurs or an exit signal was received or the remote node
sends a message containing an invalid cookieUnknownException
- if any other error occursDouble getCurLatencyStddev() throws ConnectionException, UnknownException
ConnectionException
- if the connection is not active or a communication error
occurs or an exit signal was received or the remote node
sends a message containing an invalid cookieUnknownException
- if any other error occurs