Uses of Interface
org.infinispan.commands.ReplicableCommand
Packages that use ReplicableCommand
Package
Description
Commands that operate on the cache, either locally or remotely.
Meta-commands that wrap other commands for remote execution.
Externalizers for various JDK types that are marshalled using the marshalling framework.
Remote Procedure Call (RPC) interfaces and components used to invoke remote methods on cache instances.
Transports handle the low-level networking, used by the remoting components.
A transport implementation based on JGroups.
General utilities that are not specific to Infinispan, including string parsing helpers, reflection tools and
collections and containers designed to supplement the JDK-provided containers.
Lock and synchronization related classes, tools and utilities.
-
Uses of ReplicableCommand in org.infinispan.commands
Subinterfaces of ReplicableCommand in org.infinispan.commandsModifier and TypeInterfaceDescriptioninterfaceCommands of this type manipulate data in the cache.interfaceFlags modify behavior of command such as whether or not to invoke certain commands remotely, check cache store etc.interfaceCommands correspond to specific areas of functionality in the cluster, and can be replicated using theGlobalInboundInvocationHandler.interfaceSome of the commands sent over the wire can only be honored by the receiver if the topology of the cluster at delivery time is still 'compatible' with the topology in place at send time (eg.interfaceA type of command that can acceptVisitors, such asDDAsyncInterceptor.Classes in org.infinispan.commands that implement ReplicableCommandModifier and TypeClassDescriptionclassBase class for those commands that can carry flags.classBase class for commands that carry topology id.Methods in org.infinispan.commands that return ReplicableCommandModifier and TypeMethodDescriptionRemoteCommandsFactory.fromStream(byte id, byte type) Creates an un-initialized command.Methods in org.infinispan.commands with parameters of type ReplicableCommandModifier and TypeMethodDescriptiondefault org.infinispan.commands.remote.SingleRpcCommandCommandsFactory.buildSingleRpcCommand(ReplicableCommand call) Deprecated, for removal: This API element is subject to removal in a future version.static intSegmentSpecificCommand.extractSegment(ReplicableCommand command, Object key, KeyPartitioner keyPartitioner) Utility to extract the segment from a given command that may be aSegmentSpecificCommand.static <K> SegmentAwareKey<K>SegmentSpecificCommand.extractSegmentAwareKey(ReplicableCommand command, K key, KeyPartitioner keyPartitioner) Create anSegmentAwareKeyinstance with the key and its segment.voidCommandsFactory.initializeReplicableCommand(ReplicableCommand command, boolean isRemote) Deprecated, for removal: This API element is subject to removal in a future version.since 11.0, please useCacheRpcCommand.invokeAsync(ComponentRegistry)orGlobalRpcCommand.invokeAsync(GlobalComponentRegistry)instead.voidCommandsFactoryImpl.initializeReplicableCommand(ReplicableCommand c, boolean isRemote) -
Uses of ReplicableCommand in org.infinispan.commands.read
Classes in org.infinispan.commands.read that implement ReplicableCommandModifier and TypeClassDescriptionclassorg.infinispan.commands.read.AbstractDataCommand -
Uses of ReplicableCommand in org.infinispan.commands.remote
Classes in org.infinispan.commands.remote that implement ReplicableCommandModifier and TypeClassDescriptionclassorg.infinispan.commands.remote.BaseRpcCommand -
Uses of ReplicableCommand in org.infinispan.expiration.impl
Classes in org.infinispan.expiration.impl that implement ReplicableCommandModifier and TypeClassDescriptionclassThis command updates a cache entry's last access timestamp. -
Uses of ReplicableCommand in org.infinispan.extendedstats.wrappers
Methods in org.infinispan.extendedstats.wrappers with parameters of type ReplicableCommandModifier and TypeMethodDescription<T> CompletionStage<T>ExtendedStatisticRpcManager.invokeCommand(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) <T> CompletionStage<T>ExtendedStatisticRpcManager.invokeCommand(Address target, ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) <T> CompletionStage<T>ExtendedStatisticRpcManager.invokeCommandOnAll(ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) <T> CompletionStage<T>ExtendedStatisticRpcManager.invokeCommandStaggered(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) ExtendedStatisticRpcManager.invokeRemotelyAsync(Collection<Address> recipients, ReplicableCommand rpc, RpcOptions options) voidExtendedStatisticRpcManager.sendTo(Address destination, ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) voidExtendedStatisticRpcManager.sendToAll(ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) voidExtendedStatisticRpcManager.sendToMany(Collection<Address> destinations, ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) Method parameters in org.infinispan.extendedstats.wrappers with type arguments of type ReplicableCommandModifier and TypeMethodDescription<T> CompletionStage<T>ExtendedStatisticRpcManager.invokeCommands(Collection<Address> targets, Function<Address, ReplicableCommand> commandGenerator, ResponseCollector<T> collector, RpcOptions rpcOptions) -
Uses of ReplicableCommand in org.infinispan.manager.impl
Classes in org.infinispan.manager.impl that implement ReplicableCommandModifier and TypeClassDescriptionclassReplicable Command that runs the given Function passing theEmbeddedCacheManageras an argumentclassReplicable Command that runs the given Runnable -
Uses of ReplicableCommand in org.infinispan.marshall.exts
Methods in org.infinispan.marshall.exts that return ReplicableCommandMethods in org.infinispan.marshall.exts that return types with arguments of type ReplicableCommandModifier and TypeMethodDescriptionSet<Class<? extends ReplicableCommand>>ReplicableCommandExternalizer.getTypeClasses()Methods in org.infinispan.marshall.exts with parameters of type ReplicableCommandModifier and TypeMethodDescriptionprotected voidReplicableCommandExternalizer.writeCommandHeader(ObjectOutput output, ReplicableCommand command) protected voidReplicableCommandExternalizer.writeCommandParameters(ObjectOutput output, ReplicableCommand command) voidReplicableCommandExternalizer.writeObject(ObjectOutput output, ReplicableCommand command) -
Uses of ReplicableCommand in org.infinispan.notifications.cachelistener.cluster
Classes in org.infinispan.notifications.cachelistener.cluster that implement ReplicableCommandModifier and TypeClassDescriptionclassThis command is used to send cluster events for multiple listeners on the same node -
Uses of ReplicableCommand in org.infinispan.remoting.inboundhandler.action
Methods in org.infinispan.remoting.inboundhandler.action with type parameters of type ReplicableCommandConstructors in org.infinispan.remoting.inboundhandler.action with parameters of type ReplicableCommand -
Uses of ReplicableCommand in org.infinispan.remoting.rpc
Methods in org.infinispan.remoting.rpc with parameters of type ReplicableCommandModifier and TypeMethodDescription<T> CompletionStage<T>RpcManager.invokeCommand(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) Invoke a command on a collection of node and pass the responses to aResponseCollector.<T> CompletionStage<T>RpcManager.invokeCommand(Address target, ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) Invoke a command on a single node and pass the response to aResponseCollector.<T> CompletionStage<T>RpcManagerImpl.invokeCommand(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) <T> CompletionStage<T>RpcManagerImpl.invokeCommand(Address target, ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) <T> CompletionStage<T>RpcManager.invokeCommandOnAll(ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) Invoke a command on all the nodes in the cluster and pass the responses to aResponseCollector.<T> CompletionStage<T>RpcManagerImpl.invokeCommandOnAll(ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) <T> CompletionStage<T>RpcManager.invokeCommandStaggered(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) Invoke a command on a collection of nodes and pass the responses to aResponseCollector.<T> CompletionStage<T>RpcManagerImpl.invokeCommandStaggered(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, RpcOptions rpcOptions) default CompletableFuture<Map<Address,Response>> RpcManager.invokeRemotelyAsync(Collection<Address> recipients, ReplicableCommand rpc, RpcOptions options) Deprecated, for removal: This API element is subject to removal in a future version.RpcManagerImpl.invokeRemotelyAsync(Collection<Address> recipients, ReplicableCommand rpc, RpcOptions options) voidRpcManager.sendTo(Address destination, ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) Asynchronously sends theReplicableCommandto the destination using the specifiedDeliverOrder.voidRpcManagerImpl.sendTo(Address destination, ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) voidRpcManager.sendToAll(ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) Asynchronously sends theReplicableCommandto the entire cluster.voidRpcManagerImpl.sendToAll(ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) voidRpcManager.sendToMany(Collection<Address> destinations, ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) Asynchronously sends theReplicableCommandto the set of destination using the specifiedDeliverOrder.voidRpcManagerImpl.sendToMany(Collection<Address> destinations, ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) Method parameters in org.infinispan.remoting.rpc with type arguments of type ReplicableCommandModifier and TypeMethodDescription<T> CompletionStage<T>RpcManager.invokeCommands(Collection<Address> targets, Function<Address, ReplicableCommand> commandGenerator, ResponseCollector<T> collector, RpcOptions rpcOptions) Invoke different commands on a collection of nodes and pass the responses to aResponseCollector.<T> CompletionStage<T>RpcManagerImpl.invokeCommands(Collection<Address> targets, Function<Address, ReplicableCommand> commandGenerator, ResponseCollector<T> collector, RpcOptions rpcOptions) -
Uses of ReplicableCommand in org.infinispan.remoting.transport
Methods in org.infinispan.remoting.transport with parameters of type ReplicableCommandModifier and TypeMethodDescription<T> CompletionStage<T>AbstractDelegatingTransport.invokeCommand(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) <T> CompletionStage<T>AbstractDelegatingTransport.invokeCommand(Address target, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) default <T> CompletionStage<T>Transport.invokeCommand(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) Invoke a command on a collection of node and pass the responses to aResponseCollector.default <T> CompletionStage<T>Transport.invokeCommand(Address target, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) Invoke a command on a single node and pass the response to aResponseCollector.<T> CompletionStage<T>AbstractDelegatingTransport.invokeCommandOnAll(ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) default <T> CompletionStage<T>Transport.invokeCommandOnAll(Collection<Address> requiredTargets, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) Invoke a command on all the nodes in the cluster and pass the responses to aResponseCollector.default <T> CompletionStage<T>Transport.invokeCommandOnAll(ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) Invoke a command on all the nodes in the cluster and pass the responses to aResponseCollector.<T> CompletionStage<T>AbstractDelegatingTransport.invokeCommandStaggered(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) default <T> CompletionStage<T>Transport.invokeCommandStaggered(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) Invoke a command on a collection of nodes and pass the responses to aResponseCollector.AbstractDelegatingTransport.invokeRemotely(Collection<Address> recipients, ReplicableCommand rpcCommand, ResponseMode mode, long timeout, ResponseFilter responseFilter, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, boolean anycast) Deprecated, for removal: This API element is subject to removal in a future version.Transport.invokeRemotely(Collection<Address> recipients, ReplicableCommand rpcCommand, ResponseMode mode, long timeout, ResponseFilter responseFilter, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, boolean anycast) Deprecated, for removal: This API element is subject to removal in a future version.Since 9.2, please useTransport.invokeCommand(Collection, ReplicableCommand, ResponseCollector, DeliverOrder, long, TimeUnit)instead.AbstractDelegatingTransport.invokeRemotelyAsync(Collection<Address> recipients, ReplicableCommand rpcCommand, ResponseMode mode, long timeout, ResponseFilter responseFilter, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, boolean anycast) Transport.invokeRemotelyAsync(Collection<Address> recipients, ReplicableCommand rpcCommand, ResponseMode mode, long timeout, ResponseFilter responseFilter, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, boolean anycast) voidAbstractDelegatingTransport.sendTo(Address destination, ReplicableCommand rpcCommand, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) voidTransport.sendTo(Address destination, ReplicableCommand rpcCommand, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) Asynchronously sends theReplicableCommandto the destination using the specifiedDeliverOrder.voidAbstractDelegatingTransport.sendToAll(ReplicableCommand rpcCommand, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) default voidTransport.sendToAll(ReplicableCommand rpcCommand, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) Asynchronously sends theReplicableCommandto the entire cluster.voidAbstractDelegatingTransport.sendToMany(Collection<Address> destinations, ReplicableCommand rpcCommand, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) voidTransport.sendToMany(Collection<Address> destinations, ReplicableCommand rpcCommand, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) Asynchronously sends theReplicableCommandto the set of destination using the specifiedDeliverOrder.Method parameters in org.infinispan.remoting.transport with type arguments of type ReplicableCommandModifier and TypeMethodDescription<T> CompletionStage<T>AbstractDelegatingTransport.invokeCommands(Collection<Address> targets, Function<Address, ReplicableCommand> commandGenerator, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit timeUnit) default <T> CompletionStage<T>Transport.invokeCommands(Collection<Address> targets, Function<Address, ReplicableCommand> commandGenerator, ResponseCollector<T> responseCollector, long timeout, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) Deprecated, for removal: This API element is subject to removal in a future version.Introduced in 9.1, but replaced in 9.2 withTransport.invokeCommands(Collection, Function, ResponseCollector, DeliverOrder, long, TimeUnit).default <T> CompletionStage<T>Transport.invokeCommands(Collection<Address> targets, Function<Address, ReplicableCommand> commandGenerator, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit timeUnit) Invoke different commands on a collection of nodes and pass the responses to aResponseCollector.AbstractDelegatingTransport.invokeRemotely(Map<Address, ReplicableCommand> rpcCommands, ResponseMode mode, long timeout, boolean usePriorityQueue, ResponseFilter responseFilter, boolean totalOrder, boolean anycast) Deprecated, for removal: This API element is subject to removal in a future version.AbstractDelegatingTransport.invokeRemotely(Map<Address, ReplicableCommand> rpcCommands, ResponseMode mode, long timeout, ResponseFilter responseFilter, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, boolean anycast) Deprecated, for removal: This API element is subject to removal in a future version.Transport.invokeRemotely(Map<Address, ReplicableCommand> rpcCommands, ResponseMode mode, long timeout, boolean usePriorityQueue, ResponseFilter responseFilter, boolean totalOrder, boolean anycast) Deprecated, for removal: This API element is subject to removal in a future version.Transport.invokeRemotely(Map<Address, ReplicableCommand> rpcCommands, ResponseMode mode, long timeout, ResponseFilter responseFilter, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, boolean anycast) Deprecated, for removal: This API element is subject to removal in a future version.Since 9.2, please useTransport.invokeRemotelyAsync(Collection, ReplicableCommand, ResponseMode, long, ResponseFilter, DeliverOrder, boolean)instead. -
Uses of ReplicableCommand in org.infinispan.remoting.transport.jgroups
Methods in org.infinispan.remoting.transport.jgroups with parameters of type ReplicableCommandModifier and TypeMethodDescription<T> CompletionStage<T>JGroupsTransport.invokeCommand(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) <T> CompletionStage<T>JGroupsTransport.invokeCommand(Address target, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) <T> CompletionStage<T>JGroupsTransport.invokeCommandOnAll(Collection<Address> requiredTargets, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) <T> CompletionStage<T>JGroupsTransport.invokeCommandOnAll(ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) <T> CompletionStage<T>JGroupsTransport.invokeCommandStaggered(Collection<Address> targets, ReplicableCommand command, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit unit) JGroupsTransport.invokeRemotelyAsync(Collection<Address> recipients, ReplicableCommand command, ResponseMode mode, long timeout, ResponseFilter responseFilter, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, boolean anycast) voidJGroupsTransport.sendTo(Address destination, ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) voidJGroupsTransport.sendToAll(ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) voidJGroupsTransport.sendToMany(Collection<Address> targets, ReplicableCommand command, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder) Method parameters in org.infinispan.remoting.transport.jgroups with type arguments of type ReplicableCommandModifier and TypeMethodDescription<T> CompletionStage<T>JGroupsTransport.invokeCommands(Collection<Address> targets, Function<Address, ReplicableCommand> commandGenerator, ResponseCollector<T> collector, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, long timeout, TimeUnit timeUnit) JGroupsTransport.invokeRemotely(Map<Address, ReplicableCommand> commands, ResponseMode mode, long timeout, ResponseFilter responseFilter, org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder, boolean anycast) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ReplicableCommand in org.infinispan.server.hotrod.command.tx
Classes in org.infinispan.server.hotrod.command.tx that implement ReplicableCommandModifier and TypeClassDescriptionclassACacheRpcCommandimplementation to forward the commit request from a client to the member that run the transaction.classACacheRpcCommandimplementation to forward the rollback request from a client to the member that run the transaction. -
Uses of ReplicableCommand in org.infinispan.topology
Classes in org.infinispan.topology that implement ReplicableCommandModifier and TypeClassDescriptionclassA hear-beat command used to ping members inClusterTopologyManagerImpl.confirmMembersAvailable().Methods in org.infinispan.topology with parameters of type ReplicableCommandModifier and TypeMethodDescriptionvoidTopologyManagementHelper.executeOnClusterAsync(Transport transport, ReplicableCommand command) <T> CompletionStage<T>TopologyManagementHelper.executeOnClusterSync(Transport transport, ReplicableCommand command, int timeout, ResponseCollector<T> responseCollector) TopologyManagementHelper.executeOnCoordinator(Transport transport, ReplicableCommand command, long timeoutMillis) LocalTopologyManagerImpl.executeOnCoordinatorRetry(ReplicableCommand command, int viewId, long endNanos) -
Uses of ReplicableCommand in org.infinispan.util
Methods in org.infinispan.util that return types with arguments of type ReplicableCommandModifier and TypeMethodDescriptionCollection<Class<? extends ReplicableCommand>>ModuleProperties.moduleCommands()Deprecated, for removal: This API element is subject to removal in a future version.Collection<Class<? extends ReplicableCommand>>ModuleProperties.moduleOnlyReplicableCommands()Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ReplicableCommand in org.infinispan.util.concurrent.locks
Subinterfaces of ReplicableCommand in org.infinispan.util.concurrent.locksModifier and TypeInterfaceDescriptioninterfaceSimple interface to extract all the keys that may need to be locked.interfaceSimple interface to extract all the keys that may need to be locked for transactional commands. -
Uses of ReplicableCommand in org.infinispan.xsite.commands
Classes in org.infinispan.xsite.commands that implement ReplicableCommandModifier and TypeClassDescriptionclassAmend a sites offline status.classACacheRpcCommandto check the remote site status and state transfer mode in the local cluster.classTake a site offline.classSendsXSiteEventlist from a local site node.classGet the offline status of aBackupSender.classACacheRpcCommandthat sets theXSiteStateTransferModecluster-wide.classCancel sending XSite state.classClear XSite state transfer status.classFinish receiving XSite state.classFinish sending XSite state.classRestart sending XSite state.classStart receiving XSite state.classStart send XSite state.classGet XSite state transfer status.classReturn the status of aBackupSender.classTake a site offline. -
Uses of ReplicableCommand in org.infinispan.xsite.statetransfer
Classes in org.infinispan.xsite.statetransfer that implement ReplicableCommandModifier and TypeClassDescriptionclassWraps the state to be sent to another site
CommandsFactory.buildSingleRpcCommand(VisitableCommand)instead.