public abstract static class ClusterMemberListener.Adapter extends Object implements ClusterMemberListener
ClusterMemberListener.Adapter| Constructor and Description |
|---|
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.
|
public void coordinatorIsElected(InstanceId coordinatorId)
ClusterMemberListenercoordinatorIsElected in interface ClusterMemberListenercoordinatorId - the Id of the coordinatorpublic void memberIsAvailable(String role, InstanceId availableId, URI atURI, org.neo4j.kernel.impl.store.StoreId storeId)
ClusterMemberListenermemberIsAvailable in interface ClusterMemberListeneravailableId - 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 availablepublic void memberIsUnavailable(String role, InstanceId unavailableId)
ClusterMemberListenermemberIsUnavailable in interface ClusterMemberListenerrole - The role for which the member is unavailableunavailableId - The id of the member which became unavailable for that rolepublic void memberIsFailed(InstanceId instanceId)
ClusterMemberListenermemberIsFailed in interface ClusterMemberListenerinstanceId - of the failed serverpublic void memberIsAlive(InstanceId instanceId)
ClusterMemberListenermemberIsAlive in interface ClusterMemberListenerinstanceId - of the now alive serverCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.