|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.zib.scalaris.jmx.MonitorNode
public class MonitorNode
Provides methods to monitor a specific Scalaris (Erlang) VM via JMX.
| Constructor Summary | |
|---|---|
MonitorNode(String node)
Creates a connection to the erlang VM of the given Scalaris node. |
|
| Method Summary | |
|---|---|
Double |
getCurLatencyAvg()
Gets the current, i.e. |
Double |
getCurLatencyStddev()
Gets the current, i.e. |
int |
getDhtNodes()
Gets the number of Scalaris nodes running in the VM the monitor is connected to. |
String |
getErlangVersion()
Gets the version of Erlang running in the VM the monitor is connected to. |
Map<Long,Double> |
getLatencyAvg()
Gets average latency values collected in the VM the monitor is connected to. |
Map<Long,Double> |
getLatencyStddev()
Gets the standard deviation of the latency values collected in the VM the monitor is connected to. |
String |
getScalarisVersion()
Gets the version of Scalaris running in the VM the monitor is connected to. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonitorNode(String node)
throws ConnectionException
node - Scalaris node to connect with
ConnectionException - if the connection fails or the connection policy is not
cloneable| Method Detail |
|---|
public String getScalarisVersion()
throws ConnectionException,
UnknownException
MonitorNodeMBean
getScalarisVersion in interface MonitorNodeMBeanConnectionException - 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 cookie
UnknownException - if any other error occurs
public String getErlangVersion()
throws ConnectionException,
UnknownException
MonitorNodeMBean
getErlangVersion in interface MonitorNodeMBeanConnectionException - 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 cookie
UnknownException - if any other error occurs
public int getDhtNodes()
throws ConnectionException,
UnknownException
MonitorNodeMBean
getDhtNodes in interface MonitorNodeMBeanConnectionException - 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 cookie
UnknownException - if any other error occurs
public Map<Long,Double> getLatencyAvg()
throws ConnectionException,
UnknownException
MonitorNodeMBean
getLatencyAvg in interface MonitorNodeMBeanConnectionException - 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 cookie
UnknownException - if any other error occurs
public Map<Long,Double> getLatencyStddev()
throws ConnectionException,
UnknownException
MonitorNodeMBean
getLatencyStddev in interface MonitorNodeMBeanConnectionException - 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 cookie
UnknownException - if any other error occurs
public Double getCurLatencyAvg()
throws ConnectionException,
UnknownException
MonitorNodeMBean
getCurLatencyAvg in interface MonitorNodeMBeanConnectionException - 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 cookie
UnknownException - if any other error occurs
public Double getCurLatencyStddev()
throws ConnectionException,
UnknownException
MonitorNodeMBean
getCurLatencyStddev in interface MonitorNodeMBeanConnectionException - 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 cookie
UnknownException - if any other error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||