Class XSiteTakeOfflineCommand

java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
org.infinispan.xsite.commands.XSiteTakeOfflineCommand
All Implemented Interfaces:
org.infinispan.commands.remote.CacheRpcCommand, ReplicableCommand, TracedCommand

@Deprecated(since="15.1", forRemoval=true) public class XSiteTakeOfflineCommand extends org.infinispan.commands.remote.BaseRpcCommand
Deprecated, for removal: This API element is subject to removal in a future version.
Take a site offline.
Since:
11.0
Author:
Ryan Emerson
  • Field Details

    • COMMAND_ID

      public static final int COMMAND_ID
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • XSiteTakeOfflineCommand

      public XSiteTakeOfflineCommand()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • XSiteTakeOfflineCommand

      public XSiteTakeOfflineCommand(ByteString cacheName)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • XSiteTakeOfflineCommand

      public XSiteTakeOfflineCommand(ByteString cacheName, String siteName)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • invokeAsync

      public CompletionStage<?> invokeAsync(ComponentRegistry registry)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isReturnValueExpected

      public final boolean isReturnValueExpected()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ReplicableCommand
      If true, a return value will be provided when performed remotely. Otherwise, a remote ResponseGenerator may choose to simply return null to save on marshalling costs.
      Returns:
      true or false
    • getCommandId

      public byte getCommandId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ReplicableCommand
      Used by marshallers to convert this command into an id for streaming.
      Returns:
      the method id of this command. This is compatible with pre-2.2.0 MethodCall ids.
    • writeTo

      public void writeTo(ObjectOutput output) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ReplicableCommand
      Writes this instance to the ObjectOutput.
      Parameters:
      output - the stream.
      Throws:
      IOException - if an error occurred during the I/O.
    • readFrom

      public void readFrom(ObjectInput input) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ReplicableCommand
      Reads this instance from the stream written by ReplicableCommand.writeTo(ObjectOutput).
      Parameters:
      input - the stream to read.
      Throws:
      IOException - if an error occurred during the I/O.
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object