Package org.infinispan.remoting
Class LocalInvocation
java.lang.Object
org.infinispan.remoting.LocalInvocation
public class LocalInvocation
extends Object
implements Callable<Response>, Function<Object,Response>
Simulates a remote invocation on the local node. This is needed because the transport does not redirect to itself the
replicable commands.
- Since:
- 7.0
- Author:
- Pedro Ruivo
-
Method Summary
Modifier and TypeMethodDescriptioncall()
boolean
int
hashCode()
static LocalInvocation
newInstance
(ComponentRegistry componentRegistry, org.infinispan.commands.remote.CacheRpcCommand command) static LocalInvocation
newInstanceFromCache
(Cache<?, ?> cache, org.infinispan.commands.remote.CacheRpcCommand command)
-
Method Details
-
call
-
newInstanceFromCache
public static LocalInvocation newInstanceFromCache(Cache<?, ?> cache, org.infinispan.commands.remote.CacheRpcCommand command) -
newInstance
public static LocalInvocation newInstance(ComponentRegistry componentRegistry, org.infinispan.commands.remote.CacheRpcCommand command) -
equals
-
hashCode
public int hashCode() -
callAsync
-
apply
-