Package org.infinispan.commands.topology
Class RebalancePolicyUpdateCommand
java.lang.Object
org.infinispan.commands.topology.AbstractCacheControlCommand
org.infinispan.commands.topology.RebalancePolicyUpdateCommand
- All Implemented Interfaces:
GlobalRpcCommand,ReplicableCommand
Enable or Disable rebalancing.
- Since:
- 11.0
- Author:
- Ryan Emerson
-
Field Summary
FieldsFields inherited from class org.infinispan.commands.topology.AbstractCacheControlCommand
origin -
Constructor Summary
Constructors -
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, logThrowable
-
Field Details
-
COMMAND_ID
public static final byte COMMAND_ID- See Also:
-
-
Constructor Details
-
RebalancePolicyUpdateCommand
public RebalancePolicyUpdateCommand() -
RebalancePolicyUpdateCommand
-
-
Method Details
-
invokeAsync
Description copied from interface:GlobalRpcCommandInvoke the command asynchronously.- Throws:
Throwable
-
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
-