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 TypeMethodDescriptionReturns 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
Listenable<SharedValueListener> getListenable()Returns the listenable- Returns:
- listenable
-