Class ZooReservation
- java.lang.Object
-
- org.apache.accumulo.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(IZooReaderWriter zk, String path, String reservationID, String debugInfo)
static void
release(IZooReaderWriter zk, String path, String reservationID)
-
-
-
Method Detail
-
attempt
public static boolean attempt(IZooReaderWriter zk, String path, String reservationID, String debugInfo) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
release
public static void release(IZooReaderWriter zk, String path, String reservationID) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
-