public interface ZNode<T>
Modifier and Type | Method and Description |
---|---|
T |
model()
The node's current model
|
static <T> CompletionStage<T> |
model(AsyncStage<ZNode<T>> from)
Utility that modifies an async stage of a znode into an async stage of a model
|
static <T> CompletionStage<List<T>> |
models(AsyncStage<List<ZNode<T>>> from)
Utility that modifies an async stage of znodes into an async stage of models
|
ZPath |
path()
The path of the node
|
org.apache.zookeeper.data.Stat |
stat()
The node's last known stat if available
|
ZPath path()
org.apache.zookeeper.data.Stat stat()
T model()
static <T> CompletionStage<List<T>> models(AsyncStage<List<ZNode<T>>> from)
from
- original stagestatic <T> CompletionStage<T> model(AsyncStage<ZNode<T>> from)
from
- original stageCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.