public class VersionedData extends Object implements MapWriter
MapWriter.EntryWriter
Constructor and Description |
---|
VersionedData(int version,
byte[] data,
org.apache.zookeeper.CreateMode mode,
String owner)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
|
byte[] |
getData()
Deprecated.
|
org.apache.zookeeper.CreateMode |
getMode()
Deprecated.
|
String |
getOwner()
Deprecated.
|
int |
getVersion()
Deprecated.
|
int |
hashCode()
Deprecated.
|
String |
toString()
Deprecated.
|
void |
writeMap(MapWriter.EntryWriter ew)
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
public VersionedData(int version, byte[] data, org.apache.zookeeper.CreateMode mode, String owner)
version
- version of the data, or -1 if unknowndata
- binary data, or null.mode
- create modeowner
- symbolic identifier of data owner / creator, or null.public int getVersion()
public byte[] getData()
public org.apache.zookeeper.CreateMode getMode()
public String getOwner()
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.