| Package | Description |
|---|---|
| io.atomix.core.value |
Atomic value primitive.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DistributedValue.addListener(ValueEventListener<V> listener)
Registers the specified listener to be notified whenever the atomic value is updated.
|
CompletableFuture<Void> |
AsyncDistributedValue.addListener(ValueEventListener<V> listener)
Registers the specified listener to be notified whenever the atomic value is updated.
|
void |
DistributedValue.removeListener(ValueEventListener<V> listener)
Unregisters the specified listener such that it will no longer
receive atomic value update notifications.
|
CompletableFuture<Void> |
AsyncDistributedValue.removeListener(ValueEventListener<V> listener)
Unregisters the specified listener such that it will no longer
receive atomic value update notifications.
|
Copyright © 2013–2018. All rights reserved.