public interface RaftStorage extends Closeable
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
RaftStorage.Builder |
static class |
RaftStorage.StartupOption |
| 限定符和类型 | 字段和说明 |
|---|---|
static org.slf4j.Logger |
LOG |
| 限定符和类型 | 方法和说明 |
|---|---|
RaftServerConfigKeys.Log.CorruptionPolicy |
getLogCorruptionPolicy() |
RaftStorageMetadataFile |
getMetadataFile() |
RaftStorageDirectory |
getStorageDir() |
void |
initialize()
Initialize the storage.
|
static RaftStorage.Builder |
newBuilder() |
void initialize()
throws IOException
IOExceptionRaftStorageDirectory getStorageDir()
RaftStorageMetadataFile getMetadataFile()
RaftServerConfigKeys.Log.CorruptionPolicy getLogCorruptionPolicy()
static RaftStorage.Builder newBuilder()
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.