org.apache.accumulo.fate
Class AdminUtil<T>
java.lang.Object
org.apache.accumulo.fate.AdminUtil<T>
public class AdminUtil<T>
- extends Object
A utility to administer FATE operations
Method Summary |
void |
checkGlobalLock(IZooReaderWriter zk,
String path)
|
void |
deleteLocks(ZooStore<T> zs,
IZooReaderWriter zk,
String path,
String txidStr)
|
void |
prepDelete(ZooStore<T> zs,
IZooReaderWriter zk,
String path,
String txidStr)
|
void |
prepFail(ZooStore<T> zs,
IZooReaderWriter zk,
String path,
String txidStr)
|
void |
print(ZooStore<T> zs,
IZooReaderWriter zk,
String lockPath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminUtil
public AdminUtil()
print
public void print(ZooStore<T> zs,
IZooReaderWriter zk,
String lockPath)
throws org.apache.zookeeper.KeeperException,
InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
prepDelete
public void prepDelete(ZooStore<T> zs,
IZooReaderWriter zk,
String path,
String txidStr)
prepFail
public void prepFail(ZooStore<T> zs,
IZooReaderWriter zk,
String path,
String txidStr)
deleteLocks
public void deleteLocks(ZooStore<T> zs,
IZooReaderWriter zk,
String path,
String txidStr)
throws org.apache.zookeeper.KeeperException,
InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
checkGlobalLock
public void checkGlobalLock(IZooReaderWriter zk,
String path)
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.