Interface SharedValueReader
- All Known Implementing Classes:
SharedValue
public interface SharedValueReader
Abstracts a shared value and allows listening for changes to the value
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.curator.framework.listen.Listenable<SharedValueListener> Returns the listenablebyte[]getValue()Return the current value of the countVersionedValue<byte[]> Return the current version and value
-
Method Details
-
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.Listenable<SharedValueListener> getListenable()Returns the listenable- Returns:
- listenable
-