public class MultiPathMmapFileList extends MmapFileList
BLANK_MAGIC_CODE, MIN_BLANK_LEN| Constructor and Description |
|---|
MultiPathMmapFileList(DLedgerConfig config,
int mappedFileSize,
Supplier<Set<String>> fullStorePathsSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
boolean |
load() |
protected MmapFile |
tryCreateMappedFile(long createOffset) |
append, append, append, append, checkSelf, commit, deleteExpiredFileByOffset, deleteExpiredFileByTime, deleteLastMappedFile, doCreateMappedFile, doLoad, findMappedFileByOffset, findMappedFileByOffset, flush, getCommittedWhere, getData, getData, getFirstMappedFile, getFlushedWhere, getLastMappedFile, getLastMappedFile, getLastMappedFile, getMappedFileByTime, getMappedFiles, getMappedFileSize, getMappedMemorySize, getMaxReadPosition, getMaxWrotePosition, getMinOffset, getStoreTimestamp, preAppend, preAppend, rebuildWithPos, remainHowManyDataToCommit, remainHowManyDataToFlush, resetOffset, retryDeleteFirstFile, setCommittedWhere, setFlushedWhere, shutdown, truncateOffset, updateWherePositionpublic MultiPathMmapFileList(DLedgerConfig config, int mappedFileSize, Supplier<Set<String>> fullStorePathsSupplier)
public boolean load()
load in class MmapFileListprotected MmapFile tryCreateMappedFile(long createOffset)
tryCreateMappedFile in class MmapFileListpublic void destroy()
destroy in class MmapFileListCopyright © 2023. All rights reserved.