public class VersionedData extends Object
Constructor and Description |
---|
VersionedData(int version,
byte[] data,
org.apache.zookeeper.CreateMode mode,
String owner)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
org.apache.zookeeper.CreateMode |
getMode() |
String |
getOwner() |
int |
getVersion() |
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()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.