Class ZooReservation
- java.lang.Object
-
- org.apache.accumulo.core.fate.zookeeper.ZooReservation
-
public class ZooReservation extends Object
-
-
Constructor Summary
Constructors Constructor Description ZooReservation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
attempt(ZooReaderWriter zk, String path, String reservationID, String debugInfo)
static void
release(ZooReaderWriter zk, String path, String reservationID)
-
-
-
Method Detail
-
attempt
public static boolean attempt(ZooReaderWriter zk, String path, String reservationID, String debugInfo) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
release
public static void release(ZooReaderWriter zk, String path, String reservationID) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
-