Class ForwardCommitCommand
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
org.infinispan.server.hotrod.command.tx.ForwardCommitCommand
- All Implemented Interfaces:
org.infinispan.commands.remote.CacheRpcCommand, org.infinispan.commands.ReplicableCommand, org.infinispan.commands.TracedCommand, org.infinispan.upgrade.VersionAware
@ProtoTypeId(6614)
public class ForwardCommitCommand
extends org.infinispan.commands.remote.BaseRpcCommand
A
CacheRpcCommand implementation to forward the commit request from a client to the member that run the
transaction.- Since:
- 9.1
- Author:
- Pedro Ruivo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected org.infinispan.commons.tx.XidImplFields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName, origin -
Constructor Summary
ConstructorsConstructorDescriptionForwardCommitCommand(org.infinispan.util.ByteString cacheName, org.infinispan.commons.tx.XidImpl xid, long timeout) -
Method Summary
Modifier and TypeMethodDescriptioninvokeAsync(org.infinispan.factories.ComponentRegistry componentRegistry) booleanorg.infinispan.remoting.transport.NodeVersiontoString()Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
getCacheName, getOrigin, setOriginMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.commands.ReplicableCommand
getCommandId, isSuccessful, logThrowable, readFrom, writeToMethods inherited from interface org.infinispan.commands.TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Field Details
-
xid
@ProtoField(2) protected org.infinispan.commons.tx.XidImpl xid -
timeout
@ProtoField(3) protected long timeout
-
-
Constructor Details
-
ForwardCommitCommand
@ProtoFactory public ForwardCommitCommand(org.infinispan.util.ByteString cacheName, org.infinispan.commons.tx.XidImpl xid, long timeout)
-
-
Method Details
-
invokeAsync
-
supportedSince
public org.infinispan.remoting.transport.NodeVersion supportedSince() -
toString
- Overrides:
toStringin classorg.infinispan.commands.remote.BaseRpcCommand
-
isReturnValueExpected
public boolean isReturnValueExpected()
-