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.KeeperException
InterruptedException
public static void release(IZooReaderWriter zk, String path, String reservationID) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperException
InterruptedException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.