Package org.apache.accumulo.server.rpc
Class HighlyAvailableServiceWrapper
- java.lang.Object
-
- org.apache.accumulo.server.rpc.HighlyAvailableServiceWrapper
-
public class HighlyAvailableServiceWrapper extends Object
A class to wrap invocations to the Thrift handler to prevent these invocations from succeeding when the Accumulo service that this Thrift service is for has not yet obtained its ZooKeeper lock.- Since:
- 2.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> HighlyAvailableServiceInvocationHandler<T>
getInvocationHandler(T instance, HighlyAvailableService service)
static <I> I
service(I instance, HighlyAvailableService service)
-
-
-
Method Detail
-
service
public static <I> I service(I instance, HighlyAvailableService service)
-
getInvocationHandler
protected <T> HighlyAvailableServiceInvocationHandler<T> getInvocationHandler(T instance, HighlyAvailableService service)
-
-