| 程序包 | 说明 |
|---|---|
| org.apache.ratis.server.storage |
| 限定符和类型 | 方法和说明 |
|---|---|
static RaftStorageImpl |
StorageImplUtils.initRaftStorage(String storageDirName,
RaftStorage.StartupOption option,
RaftProperties properties)
Choose a
RaftStorage for the given storage directory name from the given configuration properties
and then try to call RaftStorage.initialize(). |
static RaftStorageImpl |
StorageImplUtils.newRaftStorage(File dir,
SizeInBytes freeSpaceMin,
RaftStorage.StartupOption option,
RaftServerConfigKeys.Log.CorruptionPolicy logCorruptionPolicy)
Create a
RaftStorageImpl. |
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.