Package org.infinispan.commands.topology
Class CacheShutdownRequestCommand
java.lang.Object
org.infinispan.commands.topology.AbstractCacheControlCommand
org.infinispan.commands.topology.CacheShutdownRequestCommand
- All Implemented Interfaces:
GlobalRpcCommand,ReplicableCommand,TracedCommand
A member is requesting a cache shutdown.
- 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, 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
-
CacheShutdownRequestCommand
public CacheShutdownRequestCommand() -
CacheShutdownRequestCommand
-
-
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
-