Class StatPersisted

java.lang.Object
org.apache.zookeeper.data.StatPersisted
All Implemented Interfaces:
Record

@Public public class StatPersisted extends Object implements Record
  • Constructor Details

    • StatPersisted

      public StatPersisted()
    • StatPersisted

      public StatPersisted(long czxid, long mzxid, long ctime, long mtime, int version, int cversion, int aversion, long ephemeralOwner, long pzxid)
  • Method Details

    • getCzxid

      public long getCzxid()
    • setCzxid

      public void setCzxid(long m_)
    • getMzxid

      public long getMzxid()
    • setMzxid

      public void setMzxid(long m_)
    • getCtime

      public long getCtime()
    • setCtime

      public void setCtime(long m_)
    • getMtime

      public long getMtime()
    • setMtime

      public void setMtime(long m_)
    • getVersion

      public int getVersion()
    • setVersion

      public void setVersion(int m_)
    • getCversion

      public int getCversion()
    • setCversion

      public void setCversion(int m_)
    • getAversion

      public int getAversion()
    • setAversion

      public void setAversion(int m_)
    • getEphemeralOwner

      public long getEphemeralOwner()
    • setEphemeralOwner

      public void setEphemeralOwner(long m_)
    • getPzxid

      public long getPzxid()
    • setPzxid

      public void setPzxid(long m_)
    • serialize

      public void serialize(OutputArchive a_, String tag) throws IOException
      Specified by:
      serialize in interface Record
      Throws:
      IOException
    • deserialize

      public void deserialize(InputArchive a_, String tag) throws IOException
      Specified by:
      deserialize in interface Record
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • write

      public void write(DataOutput out) throws IOException
      Throws:
      IOException
    • readFields

      public void readFields(DataInput in) throws IOException
      Throws:
      IOException
    • compareTo

      public int compareTo(Object peer_) throws ClassCastException
      Throws:
      ClassCastException
    • equals

      public boolean equals(Object peer_)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • signature

      public static String signature()