Class PersistenceProvider
java.lang.Object
org.opendaylight.controller.cluster.raft.PersistenceProvider
This interface provides methods to persist data and is an abstraction of the akka-persistence persistence API.
-
Method Summary
Modifier and TypeMethodDescriptionfinal <T extends EntryStore>
TdecorateEntryStore
(BiFunction<EntryStore, RaftStorageCompleter, T> factory) final <T extends SnapshotStore>
Tfinal EntryStore
final SnapshotStore
final String
toString()
-
Method Details
-
entryStore
-
snapshotStore
-
decorateSnapshotStore
public final <T extends SnapshotStore> T decorateSnapshotStore(BiFunction<SnapshotStore, RaftStorageCompleter, T> factory) -
decorateEntryStore
public final <T extends EntryStore> T decorateEntryStore(BiFunction<EntryStore, RaftStorageCompleter, T> factory) -
toString
-