Class ForwardRollbackCommand
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
org.infinispan.server.hotrod.command.tx.ForwardRollbackCommand
- All Implemented Interfaces:
org.infinispan.commands.remote.CacheRpcCommand, org.infinispan.commands.ReplicableCommand, org.infinispan.commands.TracedCommand, org.infinispan.upgrade.VersionAware
@ProtoTypeId(6615)
public class ForwardRollbackCommand
extends org.infinispan.commands.remote.BaseRpcCommand
A
CacheRpcCommand implementation to forward the rollback 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
ConstructorsConstructorDescriptionForwardRollbackCommand(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
-
ForwardRollbackCommand
@ProtoFactory public ForwardRollbackCommand(org.infinispan.util.ByteString cacheName, org.infinispan.commons.tx.XidImpl xid, long timeout)
-
-
Method Details
-
invokeAsync
public CompletionStage<?> invokeAsync(org.infinispan.factories.ComponentRegistry componentRegistry) throws Throwable - Throws:
Throwable
-
supportedSince
public org.infinispan.remoting.transport.NodeVersion supportedSince() -
toString
- Overrides:
toStringin classorg.infinispan.commands.remote.BaseRpcCommand
-
isReturnValueExpected
public boolean isReturnValueExpected()
-