Package org.infinispan.xsite.commands
Class XSiteBringOnlineCommand
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
org.infinispan.xsite.commands.XSiteBringOnlineCommand
- All Implemented Interfaces:
org.infinispan.commands.remote.CacheRpcCommand
,ReplicableCommand
,TracedCommand
@Deprecated(since="15.1",
forRemoval=true)
public class XSiteBringOnlineCommand
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.XSiteBringOnlineCommand
(ByteString cacheName) Deprecated, for removal: This API element is subject to removal in a future version.XSiteBringOnlineCommand
(ByteString cacheName, String siteName) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbyte
Deprecated, for removal: This API element is subject to removal in a future version.Used by marshallers to convert this command into an id for streaming.invokeAsync
(ComponentRegistry registry) Deprecated, for removal: This API element is subject to removal in a future version.final boolean
Deprecated, for removal: This API element is subject to removal in a future version.If true, a return value will be provided when performed remotely.void
readFrom
(ObjectInput input) Deprecated, for removal: This API element is subject to removal in a future version.Reads this instance from the stream written byReplicableCommand.writeTo(ObjectOutput)
.toString()
Deprecated, for removal: This API element is subject to removal in a future version.void
writeTo
(ObjectOutput output) Deprecated, for removal: This API element is subject to removal in a future version.Writes this instance to theObjectOutput
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, invoke, invokeAsync, isSuccessful, logThrowable
Methods inherited from interface org.infinispan.commands.TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Field Details
-
COMMAND_ID
public static final int COMMAND_IDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
XSiteBringOnlineCommand
public XSiteBringOnlineCommand()Deprecated, for removal: This API element is subject to removal in a future version. -
XSiteBringOnlineCommand
Deprecated, for removal: This API element is subject to removal in a future version. -
XSiteBringOnlineCommand
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
invokeAsync
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 remoteResponseGenerator
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
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ReplicableCommand
Writes this instance to theObjectOutput
.- Parameters:
output
- the stream.- Throws:
IOException
- if an error occurred during the I/O.
-
readFrom
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 byReplicableCommand.writeTo(ObjectOutput)
.- Parameters:
input
- the stream to read.- Throws:
IOException
- if an error occurred during the I/O.
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-