Interface GlobalRpcCommand
- All Superinterfaces:
ReplicableCommand
,TracedCommand
,VersionAware
- All Known Implementing Classes:
HeartBeatCommand
,ReplicableManagerFunctionCommand
,ReplicableRunnableCommand
,XSiteLocalEventCommand
Commands correspond to specific areas of functionality in the cluster, and can be replicated using the
GlobalInboundInvocationHandler
.
Implementations of this interface must not rely on calls to AbstractComponentRegistry.wireDependencies(Object)
,
as @Inject
annotations on implementations will be ignored, components must be accessed via the
GlobalComponentRegistry
parameter of invokeAsync(GlobalComponentRegistry)
.- Since:
- 11.0
- Author:
- Ryan Emerson
-
Method Summary
Modifier and TypeMethodDescriptioninvokeAsync
(GlobalComponentRegistry globalComponentRegistry) Invoke the command asynchronously.Methods inherited from interface org.infinispan.commands.ReplicableCommand
getCommandId, isReturnValueExpected, isSuccessful, logThrowable, readFrom, setOrigin, supportedSince, writeTo
Methods inherited from interface org.infinispan.commands.TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Method Details
-
invokeAsync
Invoke the command asynchronously.- Throws:
Throwable
-