| Package | Description |
|---|---|
| org.neo4j.kernel.ha.cluster.modeswitch |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractComponentSwitcher<T>
A component switcher deals with how internal services should react when changing
between different cluster states, and allows them to switch to the new state
that reflects that.
|
class |
CommitProcessSwitcher |
class |
ComponentSwitcherContainer
Container of
ComponentSwitchers that switches all contained components to master, slave or pending mode. |
class |
LabelTokenCreatorSwitcher |
class |
LockManagerSwitcher |
class |
PropertyKeyCreatorSwitcher |
class |
RelationshipTypeCreatorSwitcher |
class |
StatementLocksFactorySwitcher
Statement locks factory switcher that will use original configured locks factory in case if
instance is master, other wise slave specific locks factory will be provided that have additional
capabilities of acquiring some shared locks on master during commit
|
class |
UpdatePullerSwitcher
UpdatePullerSwitcher will provide different implementations of
UpdatePuller
depending on node mode (slave or master). |
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentSwitcherContainer.add(ComponentSwitcher componentSwitcher) |
| Constructor and Description |
|---|
HighAvailabilityModeSwitcher(SwitchToSlave switchToSlave,
SwitchToMaster switchToMaster,
org.neo4j.cluster.protocol.election.Election election,
org.neo4j.cluster.member.ClusterMemberAvailability clusterMemberAvailability,
org.neo4j.cluster.client.ClusterClient clusterClient,
Supplier<org.neo4j.kernel.impl.store.StoreId> storeIdSupplier,
org.neo4j.cluster.InstanceId instanceId,
ComponentSwitcher componentSwitcher,
org.neo4j.kernel.impl.transaction.state.DataSourceManager neoStoreDataSourceSupplier,
org.neo4j.kernel.impl.logging.LogService logService) |
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.