Package org.apache.accumulo.server.rpc
Class HighlyAvailableServiceInvocationHandler<I>
- java.lang.Object
-
- org.apache.accumulo.server.rpc.HighlyAvailableServiceInvocationHandler<I>
-
- All Implemented Interfaces:
InvocationHandler
public class HighlyAvailableServiceInvocationHandler<I> extends Object implements InvocationHandler
AnInvocationHandler
which checks to see if aHighlyAvailableService
is the current active instance of that service, throwingThriftNotActiveServiceException
when it is not the current active instance.
-
-
Constructor Summary
Constructors Constructor Description HighlyAvailableServiceInvocationHandler(I instance, HighlyAvailableService service)
-
-
-
Constructor Detail
-
HighlyAvailableServiceInvocationHandler
public HighlyAvailableServiceInvocationHandler(I instance, HighlyAvailableService service)
-
-