| Package | Description |
|---|---|
| io.atomix.primitive |
Atomix primitives.
|
| Modifier and Type | Method and Description |
|---|---|
static DistributedPrimitive.Status |
DistributedPrimitive.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistributedPrimitive.Status[] |
DistributedPrimitive.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
default Collection<Consumer<DistributedPrimitive.Status>> |
DistributedPrimitive.statusChangeListeners()
Returns the collection of status change listeners previously registered.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
DistributedPrimitive.addStatusChangeListener(Consumer<DistributedPrimitive.Status> listener)
Registers a listener to be called when the primitive's status changes.
|
default void |
DistributedPrimitive.removeStatusChangeListener(Consumer<DistributedPrimitive.Status> listener)
Unregisters a previously registered listener to be called when the primitive's status changes.
|
Copyright © 2013–2018. All rights reserved.