public interface ClusterMemberListener
These are invoked by translating atomic broadcast messages to methods on this interface.
| Modifier and Type | Interface and Description |
|---|---|
static class |
ClusterMemberListener.Adapter |
| Modifier and Type | Method and Description |
|---|---|
void |
coordinatorIsElected(InstanceId coordinatorId)
Called when new coordinator has been elected.
|
void |
memberIsAlive(InstanceId instanceId)
Called when a member is considered alive again, by quorum.
|
void |
memberIsAvailable(String role,
InstanceId availableId,
URI atUri,
org.neo4j.kernel.impl.store.StoreId storeId)
Called when a member announces that it is available to play a particular role, e.g.
|
void |
memberIsFailed(InstanceId instanceId)
Called when a member is considered failed, by quorum.
|
void |
memberIsUnavailable(String role,
InstanceId unavailableId)
Called when a member is no longer available for fulfilling a particular role.
|
void coordinatorIsElected(InstanceId coordinatorId)
coordinatorId - the Id of the coordinatorvoid memberIsAvailable(String role, InstanceId availableId, URI atUri, org.neo4j.kernel.impl.store.StoreId storeId)
role - availableId - the role connection information for the new role holderatUri - the URI at which the instance is available atstoreId - the identifier of a store that became availablevoid memberIsUnavailable(String role, InstanceId unavailableId)
role - The role for which the member is unavailableunavailableId - The id of the member which became unavailable for that rolevoid memberIsFailed(InstanceId instanceId)
instanceId - of the failed servervoid memberIsAlive(InstanceId instanceId)
instanceId - of the now alive serverCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.