public class VersionedValue<T> extends Object
Client must never construct this but get through SharedValue.getVersionedValue()
or SharedCount.getVersionedValue().
| Modifier and Type | Method and Description |
|---|---|
T |
getValue() |
int |
getVersion()
It is
Stat.getVersion() of the corresponding node. |
long |
getZxid()
It is
Stat.getMzxid() of the corresponding node. |
public long getZxid()
Stat.getMzxid() of the corresponding node.public int getVersion()
Stat.getVersion() of the corresponding node.
It is known that this will overflow and hence not monotonic.
public T getValue()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.