Interface SharedValueReader
-
- All Known Implementing Classes:
SharedValue
public interface SharedValueReaderAbstracts a shared value and allows listening for changes to the value
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.curator.framework.listen.ListenerContainer<SharedValueListener>getListenable()Returns the listenablebyte[]getValue()Return the current value of the countVersionedValue<byte[]>getVersionedValue()Return the current version and value
-
-
-
Method Detail
-
getValue
byte[] getValue()
Return the current value of the count- Returns:
- count
-
getVersionedValue
VersionedValue<byte[]> getVersionedValue()
Return the current version and value- Returns:
- version/value
-
getListenable
org.apache.curator.framework.listen.ListenerContainer<SharedValueListener> getListenable()
Returns the listenable- Returns:
- listenable
-
-