public class ExceptionAckCommand extends BackupAckCommand
The acknowledge represents an unsuccessful execution of the operation.
| Modifier and Type | Field and Description |
|---|---|
static byte |
COMMAND_ID |
id, topologyIdcacheName, origin| Constructor and Description |
|---|
ExceptionAckCommand() |
ExceptionAckCommand(ByteString cacheName) |
ExceptionAckCommand(ByteString cacheName,
long id,
Throwable throwable,
int topologyId) |
| Modifier and Type | Method and Description |
|---|---|
void |
ack(CommandAckCollector ackCollector) |
byte |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
void |
readFrom(ObjectInput input)
Reads this instance from the stream written by
ReplicableCommand.writeTo(ObjectOutput). |
String |
toString() |
void |
writeTo(ObjectOutput output)
Writes this instance to the
ObjectOutput. |
isReturnValueExpectedgetCacheName, getOrigin, setOriginclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinvokeAsynccanBlock, invoke, invokeAsync, isSuccessfulpublic static final byte COMMAND_ID
public ExceptionAckCommand()
public ExceptionAckCommand(ByteString cacheName)
public ExceptionAckCommand(ByteString cacheName, long id, Throwable throwable, int topologyId)
public void ack(CommandAckCollector ackCollector)
ack in class BackupAckCommandpublic byte getCommandId()
ReplicableCommandgetCommandId in interface ReplicableCommandgetCommandId in class BackupAckCommandpublic void writeTo(ObjectOutput output) throws IOException
ReplicableCommandObjectOutput.writeTo in interface ReplicableCommandwriteTo in class BackupAckCommandoutput - the stream.IOException - if an error occurred during the I/O.public void readFrom(ObjectInput input) throws IOException, ClassNotFoundException
ReplicableCommandReplicableCommand.writeTo(ObjectOutput).readFrom in interface ReplicableCommandreadFrom in class BackupAckCommandinput - the stream to read.IOException - if an error occurred during the I/O.ClassNotFoundException - if it tries to load an undefined class.public String toString()
toString in class BackupAckCommandCopyright © 2022 JBoss by Red Hat. All rights reserved.