org.apache.accumulo.server.zookeeper
Class ZooReservation
java.lang.Object
org.apache.accumulo.server.zookeeper.ZooReservation
public class ZooReservation
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZooReservation
public ZooReservation()
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
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.