Package org.apache.accumulo.server.rpc
Class HighlyAvailableServiceInvocationHandler<I>
java.lang.Object
org.apache.accumulo.server.rpc.HighlyAvailableServiceInvocationHandler<I>
- All Implemented Interfaces:
InvocationHandler
An
InvocationHandler
which checks to see if a HighlyAvailableService
is the
current active instance of that service, throwing ThriftNotActiveServiceException
when it
is not the current active instance.-
Constructor Summary
ConstructorsConstructorDescriptionHighlyAvailableServiceInvocationHandler
(I instance, HighlyAvailableService service) -
Method Summary
-
Constructor Details
-
HighlyAvailableServiceInvocationHandler
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-