public class RestoreRequired extends Object implements Loggable
| Modifier and Type | Class and Description |
|---|---|
static class |
RestoreRequired.FailureType |
| Constructor and Description |
|---|
RestoreRequired() |
RestoreRequired(RestoreRequired.FailureType failureType,
Properties props) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpLog(StringBuilder sb,
boolean verbose)
Write the object into the string buffer for log dumping.
|
RestoreRequired.FailureType |
getFailureType() |
int |
getLogSize() |
Properties |
getProperties() |
long |
getTransactionId() |
boolean |
logicalEquals(Loggable other) |
void |
readFromLog(ByteBuffer itemBuffer,
int entryVersion)
Initialize this object from the data in itemBuf.
|
String |
toString() |
void |
writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer.
|
public RestoreRequired(RestoreRequired.FailureType failureType, Properties props) throws IOException
IOExceptionpublic RestoreRequired()
public RestoreRequired.FailureType getFailureType()
public Properties getProperties()
public int getLogSize()
getLogSize in interface Loggablepublic void writeToLog(ByteBuffer logBuffer)
LoggablewriteToLog in interface LoggablelogBuffer - is the destination bufferpublic void readFromLog(ByteBuffer itemBuffer, int entryVersion)
LoggablereadFromLog in interface LoggableitemBuffer - the source bufferentryVersion - the log version of the datapublic void dumpLog(StringBuilder sb, boolean verbose)
Loggablepublic long getTransactionId()
getTransactionId in interface Loggablepublic boolean logicalEquals(Loggable other)
logicalEquals in interface LoggableCopyright © 2024. All rights reserved.