public class PaxosClusterMemberAvailability extends Object implements ClusterMemberAvailability, org.neo4j.kernel.lifecycle.Lifecycle
ClusterMemberAvailability| Constructor and Description |
|---|
PaxosClusterMemberAvailability(InstanceId myId,
BindingNotifier binding,
AtomicBroadcast atomicBroadcast,
org.neo4j.logging.LogProvider logProvider,
ObjectInputStreamFactory objectInputStreamFactory,
ObjectOutputStreamFactory objectOutputStreamFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
void |
memberIsAvailable(String role,
URI roleUri,
org.neo4j.kernel.impl.store.StoreId storeId)
When a member has finished a transition to a particular role, i.e.
|
void |
memberIsUnavailable(String role)
When a member is no longer available in a particular role it should call this
to announce it to the other members of the cluster.
|
void |
shutdown() |
void |
start() |
void |
stop() |
public PaxosClusterMemberAvailability(InstanceId myId, BindingNotifier binding, AtomicBroadcast atomicBroadcast, org.neo4j.logging.LogProvider logProvider, ObjectInputStreamFactory objectInputStreamFactory, ObjectOutputStreamFactory objectOutputStreamFactory)
public void init()
throws Throwable
init in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void start()
throws Throwable
start in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void stop()
throws Throwable
stop in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void shutdown()
throws Throwable
shutdown in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void memberIsAvailable(String role, URI roleUri, org.neo4j.kernel.impl.store.StoreId storeId)
ClusterMemberAvailabilitymemberIsAvailable in interface ClusterMemberAvailabilitypublic void memberIsUnavailable(String role)
ClusterMemberAvailabilitymemberIsUnavailable in interface ClusterMemberAvailabilityCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.