public static class SnapshotManifest.LogFileInfo extends Object
| Constructor and Description |
|---|
LogFileInfo(String checksum,
boolean isCopied,
long copyStartTimeMs,
String snapshot,
String nodeName) |
LogFileInfo(String checksum,
long copyStartTimeMs,
SnapshotManifest manifest)
Create final information for a log file after it is copied.
|
LogFileInfo(String snapshot,
String nodeName)
Create initial information for a log file which records the snapshot
and node name but leaves other fields at default values to be filled
in after the file is copied.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
String |
getChecksum() |
long |
getCopyStartTimeMs() |
boolean |
getIsCopied() |
String |
getNodeName() |
String |
getSnapshot() |
int |
hashCode() |
String |
toString() |
void |
validate()
Checks if the format of the instance is valid.
|
public LogFileInfo(String checksum, boolean isCopied, long copyStartTimeMs, String snapshot, String nodeName)
public LogFileInfo(String snapshot, String nodeName)
public LogFileInfo(String checksum, long copyStartTimeMs, SnapshotManifest manifest)
public String getChecksum()
public boolean getIsCopied()
public long getCopyStartTimeMs()
public String getSnapshot()
public String getNodeName()
public void validate()
IllegalArgumentException - if the format of the instance is
not validCopyright © 2024. All rights reserved.