public class ComponentSwitcherContainer extends Object implements ComponentSwitcher
ComponentSwitchers that switches all contained components to master, slave or pending mode.
Assumed to be populated only during startup and is not thread safe.| Constructor and Description |
|---|
ComponentSwitcherContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ComponentSwitcher componentSwitcher) |
void |
switchToMaster() |
void |
switchToPending() |
void |
switchToSlave() |
String |
toString() |
public void add(ComponentSwitcher componentSwitcher)
public void switchToMaster()
switchToMaster in interface ComponentSwitcherpublic void switchToSlave()
switchToSlave in interface ComponentSwitcherpublic void switchToPending()
switchToPending in interface ComponentSwitcherCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.