Package org.infinispan.commands.topology
Class TopologyUpdateStableCommand
java.lang.Object
org.infinispan.commands.topology.AbstractCacheControlCommand
org.infinispan.commands.topology.TopologyUpdateStableCommand
- All Implemented Interfaces:
GlobalRpcCommand,ReplicableCommand
Update the stable topology.
- Since:
- 11.0
- Author:
- Ryan Emerson
-
Field Summary
FieldsFields inherited from class org.infinispan.commands.topology.AbstractCacheControlCommand
origin -
Constructor Summary
ConstructorsConstructorDescriptionTopologyUpdateStableCommand(String cacheName, Address origin, CacheTopology cacheTopology, int viewId) -
Method Summary
Modifier and TypeMethodDescriptionintInvoke 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, logThrowable
-
Field Details
-
COMMAND_ID
public static final byte COMMAND_ID- See Also:
-
-
Constructor Details
-
TopologyUpdateStableCommand
public TopologyUpdateStableCommand() -
TopologyUpdateStableCommand
public TopologyUpdateStableCommand(String cacheName, Address origin, CacheTopology cacheTopology, int viewId)
-
-
Method Details
-
invokeAsync
Description copied from interface:GlobalRpcCommandInvoke the command asynchronously.- Throws:
Throwable
-
getCurrentCH
-
getPendingCH
-
getTopologyId
public int getTopologyId() -
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
-