T - result for each command.public interface GuaguaZooKeeperOperation<T>
GuaguaZooKeeperOperation is used as command to process consistent logic like re-trying for all zookeeper
operations (create, get, ...).| Modifier and Type | Method and Description |
|---|---|
T |
execute()
Performs the operation - which may be involved multiple times if the connection to ZooKeeper closes during this
operation.
|
T execute() throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperException - by any zookeeper operation.InterruptedException - by any zookeeper operation.Copyright © 2018. All Rights Reserved.