|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.remoting.InboundInvocationHandlerImpl
public class InboundInvocationHandlerImpl
Sets the cache interceptor chain on an RPCCommand before calling it to perform
Constructor Summary | |
---|---|
InboundInvocationHandlerImpl()
|
Method Summary | |
---|---|
void |
applyState(String cacheName,
InputStream i)
Applies state onto a named cache. |
void |
generateState(String cacheName,
OutputStream o)
Generates state from a named cache. |
Response |
handle(CacheRpcCommand cmd)
Invokes a command on the cache, from a remote source. |
void |
inject(GlobalComponentRegistry gcr)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InboundInvocationHandlerImpl()
Method Detail |
---|
public void inject(GlobalComponentRegistry gcr)
public Response handle(CacheRpcCommand cmd) throws Throwable
InboundInvocationHandler
handle
in interface InboundInvocationHandler
cmd
- command to invoke
Throwable
- in the event of problems executing the commandpublic void applyState(String cacheName, InputStream i) throws StateTransferException
InboundInvocationHandler
applyState
in interface InboundInvocationHandler
cacheName
- name of cache to apply statei
- stream to read from
StateTransferException
- in the event of problemspublic void generateState(String cacheName, OutputStream o) throws StateTransferException
InboundInvocationHandler
generateState
in interface InboundInvocationHandler
cacheName
- name of cache from which to generate stateo
- stream to write state to
StateTransferException
- in the event of problems
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |