Package org.apache.zookeeper.proto
Class WatcherEvent
java.lang.Object
org.apache.zookeeper.proto.WatcherEvent
- All Implemented Interfaces:
Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
deserialize
(InputArchive a_, String tag) boolean
getPath()
int
getState()
int
getType()
int
hashCode()
void
readFields
(DataInput in) void
serialize
(OutputArchive a_, String tag) void
void
setState
(int m_) void
setType
(int m_) static String
toString()
void
write
(DataOutput out)
-
Constructor Details
-
WatcherEvent
public WatcherEvent() -
WatcherEvent
-
-
Method Details
-
getType
public int getType() -
setType
public void setType(int m_) -
getState
public int getState() -
setState
public void setState(int m_) -
getPath
-
setPath
-
serialize
- Specified by:
serialize
in interfaceRecord
- Throws:
IOException
-
deserialize
- Specified by:
deserialize
in interfaceRecord
- Throws:
IOException
-
toString
-
write
- Throws:
IOException
-
readFields
- Throws:
IOException
-
compareTo
- Throws:
ClassCastException
-
equals
-
hashCode
public int hashCode() -
signature
-