public final class ConsensusModuleProxy extends Object implements AutoCloseable
Note: This class is not for public use.
| Constructor and Description |
|---|
ConsensusModuleProxy(Publication publication)
Construct a proxy to the consensus module that will send messages over a provided
Publication. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
clusterMembersQuery(long correlationId)
Query for the current cluster members.
|
boolean |
removeMember(int memberId,
BooleanType isPassive)
Remove a member by id from the cluster.
|
public ConsensusModuleProxy(Publication publication)
Publication.publication - for sending messages to the consensus module.public void close()
close in interface AutoCloseablepublic boolean clusterMembersQuery(long correlationId)
correlationId - for the request.public boolean removeMember(int memberId,
BooleanType isPassive)
memberId - to be removed.isPassive - to indicate if the member is passive or not.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.