org.apache.accumulo.fate.zookeeper
Class ZooReservation

java.lang.Object
  extended by org.apache.accumulo.fate.zookeeper.ZooReservation

public class ZooReservation
extends Object


Constructor Summary
ZooReservation()
           
 
Method Summary
static boolean attempt(IZooReaderWriter zk, String path, String reservationID, String debugInfo)
           
static void release(IZooReaderWriter zk, String path, String reservationID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZooReservation

public ZooReservation()
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


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.