Package org.infinispan.commands
Interface GlobalRpcCommand
- All Superinterfaces:
ReplicableCommand
- All Known Implementing Classes:
AbstractCacheControlCommand
,CacheAvailabilityUpdateCommand
,CacheJoinCommand
,CacheLeaveCommand
,CacheShutdownCommand
,CacheShutdownRequestCommand
,CacheStatusRequestCommand
,RebalancePhaseConfirmCommand
,RebalancePolicyUpdateCommand
,RebalanceStartCommand
,RebalanceStatusRequestCommand
,ReplicableRunnableCommand
,TopologyUpdateCommand
,TopologyUpdateStableCommand
,XSiteViewNotificationCommand
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 TypeMethodDescriptiondefault CompletionStage<?>
invokeAsync
(GlobalComponentRegistry globalComponentRegistry) Invoke the command asynchronously.Methods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, logThrowable, readFrom, setOrigin, writeTo
-
Method Details
-
invokeAsync
default CompletionStage<?> invokeAsync(GlobalComponentRegistry globalComponentRegistry) throws Throwable Invoke the command asynchronously.- Throws:
Throwable
-