com.nhncorp.neptune.tabletserver
Class TabletServerStatus

java.lang.Object
  extended by com.nhncorp.neptune.tabletserver.TabletServerStatus
All Implemented Interfaces:
NWritable

public class TabletServerStatus
extends java.lang.Object
implements NWritable


Constructor Summary
TabletServerStatus()
           
 
Method Summary
 long getFreeMemory()
           
 long getMaxMemory()
           
 int getNumEtcThread()
           
 int getNumMajorThread()
           
 int getNumSplitThread()
           
 long getServerStartTime()
           
 long getTotalMemory()
           
 java.lang.String[] getTxStatistics()
           
 void readFields(java.io.DataInput in)
          Reads the fields of this object from in.
 void setFreeMemory(long freeMemory)
           
 void setMaxMemory(long maxMemory)
           
 void setNumEtcThread(int numEtcThread)
           
 void setNumMajorThread(int numMajorThread)
           
 void setNumSplitThread(int numSplitThread)
           
 void setServerStartTime(long serverStartTime)
           
 void setTotalMemory(long totalMemory)
           
 void setTxStatistics(java.lang.String[] txStatistics)
           
 void write(java.io.DataOutput out)
          Writes the fields of this object to out.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabletServerStatus

public TabletServerStatus()
Method Detail

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()