public class CheckpointMessage extends Message
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION
The name used for the action field in
Message. |
| Constructor and Description |
|---|
CheckpointMessage()
Default constructor.
|
CheckpointMessage(String sequenceNumber,
Throwable throwable)
Convenience constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCheckpoint() |
String |
getError() |
void |
setCheckpoint(String checkpoint) |
void |
setError(String error) |
public static final String ACTION
Message.public CheckpointMessage()
public CheckpointMessage(String sequenceNumber, Throwable throwable)
sequenceNumber - The sequence number that this message is about.throwable - When responding to a client's process, the record processor will add the name of the exception
that occurred while attempting to checkpoint if one did occur.public String getCheckpoint()
public String getError()
public void setCheckpoint(String checkpoint)
checkpoint - The checkpoint.public void setError(String error)
error - The error.Copyright © 2016. All rights reserved.