Package org.apache.solr.common.cloud
Interface ZkOperation<T>
public interface ZkOperation<T>
A callback object which can be used for implementing retry-able operations.
-
Method Summary
-
Method Details
-
execute
Performs the operation - which may be involved multiple times if the connection to ZooKeeper closes during this operation- Returns:
- the result of the operation or null
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-