com.nhncorp.neptune.changelog.previous
Class ChangeLogStatus

java.lang.Object
  extended by com.nhncorp.neptune.changelog.previous.ChangeLogStatus
All Implemented Interfaces:
NWritable

public class ChangeLogStatus
extends java.lang.Object
implements NWritable


Constructor Summary
ChangeLogStatus()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getFileCount()
           
 long getFileSize()
           
 java.lang.String getHostName()
           
 int getMaxSeq()
           
 java.lang.String getMaxTxId()
           
 boolean isNeedCompaction()
           
 void readFields(java.io.DataInput in)
          Reads the fields of this object from in.
 void setFileCount(int fileCount)
           
 void setFileSize(long fileSize)
           
 void setHostName(java.lang.String hostName)
           
 void setMaxSeq(int maxSeq)
           
 void setMaxTxId(java.lang.String maxTxId)
           
 void setNeedCompaction(boolean needCompaction)
           
 java.lang.String toString()
           
 void write(java.io.DataOutput out)
          Writes the fields of this object to out.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeLogStatus

public ChangeLogStatus()
Method Detail

getFileCount

public int getFileCount()

setFileCount

public void setFileCount(int fileCount)

getFileSize

public long getFileSize()

setFileSize

public void setFileSize(long fileSize)

getMaxSeq

public int getMaxSeq()

setMaxSeq

public void setMaxSeq(int maxSeq)

getMaxTxId

public java.lang.String getMaxTxId()

setMaxTxId

public void setMaxTxId(java.lang.String maxTxId)

getHostName

public java.lang.String getHostName()

setHostName

public void setHostName(java.lang.String hostName)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

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

isNeedCompaction

public boolean isNeedCompaction()

setNeedCompaction

public void setNeedCompaction(boolean needCompaction)