Package io.aeron.cluster.service
Class ConsensusModuleProxy
java.lang.Object
io.aeron.cluster.service.ConsensusModuleProxy
- All Implemented Interfaces:
AutoCloseable
Proxy for communicating with the Consensus Module over IPC.
Note: This class is not for public use.
-
Constructor Summary
ConstructorsConstructorDescriptionConsensusModuleProxy(Publication publication) Construct a proxy to the consensus module that will send messages over a providedPublication. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanclusterMembersQuery(long correlationId) Query for the current cluster members.
-
Constructor Details
-
ConsensusModuleProxy
Construct a proxy to the consensus module that will send messages over a providedPublication.- Parameters:
publication- for sending messages to the consensus module.
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
clusterMembersQuery
public boolean clusterMembersQuery(long correlationId) Query for the current cluster members.- Parameters:
correlationId- for the request.- Returns:
- true of the request was successfully sent, otherwise false.
-