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, CacheRpcCommand command) static LocalInvocation
newInstanceFromCache
(Cache<?, ?> cache, CacheRpcCommand command)
-
Method Details
-
call
-
newInstanceFromCache
-
newInstance
public static LocalInvocation newInstance(ComponentRegistry componentRegistry, CacheRpcCommand command) -
equals
-
hashCode
public int hashCode() -
callAsync
-
apply
-