Class ONodeStatsNotify
java.lang.Object
com.orientechnologies.orient.distributed.context.coordination.message.ONodeStatsNotify
- All Implemented Interfaces:
OStructuralMessage
-
Constructor Summary
ConstructorsConstructorDescriptionONodeStatsNotify(ONodeId nodeId, long bootTime, long maxMem, long totMem, long freeMem, long usedMem, List<ONodeLatencies> nodesLatencies, List<ONodeMessages> nodesMessages) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic ONodeStatsNotifyfromNetwork(DataInput input) longlonglonglongshortgetType()longvoidserialize(DataOutput out) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.distributed.context.coordination.message.OStructuralMessage
writeNetwork
-
Constructor Details
-
ONodeStatsNotify
public ONodeStatsNotify(ONodeId nodeId, long bootTime, long maxMem, long totMem, long freeMem, long usedMem, List<ONodeLatencies> nodesLatencies, List<ONodeMessages> nodesMessages)
-
-
Method Details
-
execute
- Specified by:
executein interfaceOStructuralMessage
-
serialize
- Specified by:
serializein interfaceOStructuralMessage- Throws:
IOException
-
getType
public short getType()- Specified by:
getTypein interfaceOStructuralMessage
-
fromNetwork
- Throws:
IOException
-
getNodeId
-
getBootTime
public long getBootTime() -
getMaxMem
public long getMaxMem() -
getTotMem
public long getTotMem() -
getFreeMem
public long getFreeMem() -
getUsedMem
public long getUsedMem() -
getNodesLatencies
-
getNodesMessages
-
toString
-