org.apache.accumulo.fate.zookeeper
public class ZooReservation extends Object
| Constructor and Description |
|---|
ZooReservation() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
attempt(IZooReaderWriter zk,
String path,
String reservationID,
String debugInfo) |
static void |
release(IZooReaderWriter zk,
String path,
String reservationID) |
public static boolean attempt(IZooReaderWriter zk, String path, String reservationID, String debugInfo) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic static void release(IZooReaderWriter zk, String path, String reservationID) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionCopyright © 2014 Apache Accumulo Project. All Rights Reserved.