com.nhncorp.neptune.tabletserver
Class TabletServerStatus
java.lang.Object
com.nhncorp.neptune.tabletserver.TabletServerStatus
- All Implemented Interfaces:
- NWritable
public class TabletServerStatus
- extends java.lang.Object
- implements NWritable
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabletServerStatus
public TabletServerStatus()
getFreeMemory
public long getFreeMemory()
setFreeMemory
public void setFreeMemory(long freeMemory)
getMaxMemory
public long getMaxMemory()
setMaxMemory
public void setMaxMemory(long maxMemory)
getTotalMemory
public long getTotalMemory()
setTotalMemory
public void setTotalMemory(long totalMemory)
readFields
public void readFields(java.io.DataInput in)
throws java.io.IOException
- Description copied from interface:
NWritable
- Reads the fields of this object from
in. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
- Specified by:
readFields in interface NWritable
- Throws:
java.io.IOException
write
public void write(java.io.DataOutput out)
throws java.io.IOException
- Description copied from interface:
NWritable
- Writes the fields of this object to
out.
- Specified by:
write in interface NWritable
- Throws:
java.io.IOException
getServerStartTime
public long getServerStartTime()
setServerStartTime
public void setServerStartTime(long serverStartTime)
getNumMajorThread
public int getNumMajorThread()
setNumMajorThread
public void setNumMajorThread(int numMajorThread)
getNumSplitThread
public int getNumSplitThread()
setNumSplitThread
public void setNumSplitThread(int numSplitThread)
getNumEtcThread
public int getNumEtcThread()
setNumEtcThread
public void setNumEtcThread(int numEtcThread)
setTxStatistics
public void setTxStatistics(java.lang.String[] txStatistics)
getTxStatistics
public java.lang.String[] getTxStatistics()