use of com.hazelcast.cp.internal.operation.DestroyRaftGroupOp in project hazelcast by hazelcast.
the class RaftInvocationManager method destroy.
public InternalCompletableFuture<Object> destroy(CPGroupId groupId) {
InternalCompletableFuture<Object> completedFuture = completeExceptionallyIfCPSubsystemNotAvailable();
if (completedFuture != null) {
return completedFuture;
}
Operation operation = new DestroyRaftGroupOp(groupId);
Invocation invocation = new RaftInvocation(operationService.getInvocationContext(), raftInvocationContext, groupId, operation, invocationMaxRetryCount, invocationRetryPauseMillis, operationCallTimeout);
return invocation.invoke();
}
Aggregations