Package org.infinispan.commands.topology
Class RebalancePhaseConfirmCommand
java.lang.Object
org.infinispan.commands.topology.AbstractCacheControlCommand
org.infinispan.commands.topology.RebalancePhaseConfirmCommand
- All Implemented Interfaces:
GlobalRpcCommand,ReplicableCommand,TracedCommand
A member is confirming that it has finished a topology change during rebalance.
- Since:
- 11.0
- Author:
- Ryan Emerson
-
Field Summary
FieldsFields inherited from class org.infinispan.commands.topology.AbstractCacheControlCommand
origin -
Constructor Summary
ConstructorsConstructorDescriptionRebalancePhaseConfirmCommand(String cacheName, Address origin, Throwable throwable, int topologyId, int viewId) -
Method Summary
Modifier and TypeMethodDescriptionInvoke the command asynchronously.voidreadFrom(ObjectInput input) Reads this instance from the stream written byReplicableCommand.writeTo(ObjectOutput).toString()voidwriteTo(ObjectOutput output) Writes this instance to theObjectOutput.Methods inherited from class org.infinispan.commands.topology.AbstractCacheControlCommand
getCommandId, isReturnValueExpected, setOriginMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, invoke, invokeAsync, isSuccessful, logThrowableMethods inherited from interface org.infinispan.commands.TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Field Details
-
COMMAND_ID
public static final byte COMMAND_ID- See Also:
-
-
Constructor Details
-
RebalancePhaseConfirmCommand
public RebalancePhaseConfirmCommand() -
RebalancePhaseConfirmCommand
-
-
Method Details
-
invokeAsync
Description copied from interface:GlobalRpcCommandInvoke the command asynchronously.- Throws:
Throwable
-
getCacheName
-
writeTo
Description copied from interface:ReplicableCommandWrites this instance to theObjectOutput.- Parameters:
output- the stream.- Throws:
IOException- if an error occurred during the I/O.
-
readFrom
Description copied from interface:ReplicableCommandReads this instance from the stream written byReplicableCommand.writeTo(ObjectOutput).- Parameters:
input- the stream to read.- Throws:
IOException- if an error occurred during the I/O.ClassNotFoundException- if it tries to load an undefined class.
-
toString
-