use of com.hazelcast.cp.internal.MetadataRaftGroupManager in project hazelcast by hazelcast.
the class MetadataRaftGroupOp method run.
@Override
public final Object run(CPGroupId groupId, long commitIndex) throws Exception {
RaftService service = getService();
MetadataRaftGroupManager metadataGroupManager = service.getMetadataGroupManager();
checkTrue(metadataGroupManager.getMetadataGroupId().equals(groupId), "Cannot perform CP Subsystem management call on " + groupId);
return run(metadataGroupManager, commitIndex);
}
use of com.hazelcast.cp.internal.MetadataRaftGroupManager in project hazelcast by hazelcast.
the class RaftServicePreJoinOp method run.
@Override
public void run() {
RaftService service = getService();
MetadataRaftGroupManager metadataGroupManager = service.getMetadataGroupManager();
metadataGroupManager.handleMetadataGroupId(metadataGroupId);
if (discoveryCompleted) {
metadataGroupManager.disableDiscovery();
}
}
Aggregations