public class FsSnapshotStorageConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CHECKSUM_ALGORITHM |
protected static String |
CHECKSUM_CONTENT_SEPARATOR |
protected static String |
CHECKSUM_CONTENT_TEMPLATE |
protected static String |
CHECKSUM_FILE_NAME_TEMPLATE |
protected String |
rootPath |
protected static String |
SNAPSHOT_FILE_NAME_PATTERN |
protected static String |
SNAPSHOT_FILE_NAME_TEMPLATE |
protected static String |
SNAPSHOT_FILE_PATH_TEMPLATE |
| Constructor and Description |
|---|
FsSnapshotStorageConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
checksumContent(String checksum,
String dataFileName) |
String |
checksumFileName(String name,
long logPosition) |
String |
extractDataFileNameFromChecksumContent(String content) |
String |
extractDigestFromChecksumContent(String content) |
String |
getChecksumAlgorithm() |
static String |
getChecksumContentTemplate() |
String |
getChecksumFileNameTemplate() |
Long |
getPositionOfSnapshotFile(File file,
String name) |
String |
getRootPath() |
String |
getSnapshotFileNameTemplate() |
String |
getSnapshotNameFromFileName(String fileName) |
boolean |
isReplicable(String snapshotName) |
boolean |
isSnapshotFile(File file) |
boolean |
matchesSnapshotFileNamePattern(File file,
String name) |
void |
setRootPath(String rootPath) |
String |
snapshotFileName(String name,
long logPosition) |
protected static final String CHECKSUM_ALGORITHM
protected static final String SNAPSHOT_FILE_NAME_TEMPLATE
protected static final String SNAPSHOT_FILE_PATH_TEMPLATE
protected static final String SNAPSHOT_FILE_NAME_PATTERN
protected static final String CHECKSUM_FILE_NAME_TEMPLATE
protected static final String CHECKSUM_CONTENT_SEPARATOR
protected static final String CHECKSUM_CONTENT_TEMPLATE
protected String rootPath
public void setRootPath(String rootPath)
public String getRootPath()
public String getChecksumAlgorithm()
public boolean matchesSnapshotFileNamePattern(File file, String name)
public boolean isSnapshotFile(File file)
public String extractDataFileNameFromChecksumContent(String content)
public String getSnapshotFileNameTemplate()
public String getChecksumFileNameTemplate()
public static String getChecksumContentTemplate()
public boolean isReplicable(String snapshotName)
Copyright © 2017–2018 camunda services GmbH. All rights reserved.