public interface CPPersistenceService
Modifier and Type | Method and Description |
---|---|
RaftStateStore |
createRaftStateStore(RaftGroupId groupId,
LogFileStructure logFileStructure)
Creates a
RaftStateStore that is going to be used by the local Raft node
of the given CP group. |
CPMetadataStore |
getCPMetadataStore()
Returns the utility that is used for storing
CPMember identity of
the local Hazelcast member. |
boolean |
isEnabled()
Returns if the CP state persistence is enabled or not.
|
void |
removeRaftStateStore(RaftGroupId groupId)
Removes the store associated with groupId,
removes all persisted state and releases acquired resources.
|
void |
reset()
Deletes all persisted data from the storage.
|
boolean isEnabled()
CPMetadataStore getCPMetadataStore()
CPMember
identity of
the local Hazelcast member.RaftStateStore createRaftStateStore(@Nonnull RaftGroupId groupId, @Nullable LogFileStructure logFileStructure)
RaftStateStore
that is going to be used by the local Raft node
of the given CP group.void removeRaftStateStore(@Nonnull RaftGroupId groupId)
void reset()
Copyright © 2019 Hazelcast, Inc.. All rights reserved.