Modifier and Type | Method and Description |
---|---|
ICompletableFuture<RaftGroupId> |
createRaftGroup(String groupName) |
ICompletableFuture<RaftGroupId> |
createRaftGroup(String groupName,
int groupSize) |
InternalCompletableFuture<Object> |
destroy(CPGroupId groupId) |
RaftInvocationContext |
getRaftInvocationContext() |
<T> InternalCompletableFuture<T> |
invoke(CPGroupId groupId,
RaftOp raftOp) |
<T> InternalCompletableFuture<T> |
query(CPGroupId groupId,
RaftOp raftOp,
QueryPolicy queryPolicy) |
<T> InternalCompletableFuture<T> |
queryLocally(CPGroupId groupId,
RaftOp raftOp,
QueryPolicy queryPolicy) |
public ICompletableFuture<RaftGroupId> createRaftGroup(String groupName)
public ICompletableFuture<RaftGroupId> createRaftGroup(String groupName, int groupSize)
public <T> InternalCompletableFuture<T> invoke(CPGroupId groupId, RaftOp raftOp)
public <T> InternalCompletableFuture<T> query(CPGroupId groupId, RaftOp raftOp, QueryPolicy queryPolicy)
public <T> InternalCompletableFuture<T> queryLocally(CPGroupId groupId, RaftOp raftOp, QueryPolicy queryPolicy)
public InternalCompletableFuture<Object> destroy(CPGroupId groupId)
public RaftInvocationContext getRaftInvocationContext()
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.