Package com.orientechnologies.agent.ha
Class OEnterpriseDistributedStrategy
java.lang.Object
com.orientechnologies.orient.server.distributed.impl.ODefaultDistributedStrategy
com.orientechnologies.agent.ha.OEnterpriseDistributedStrategy
- All Implemented Interfaces:
ODistributedStrategy
EE implementation for quorum management. It extends the CE by supporting the data-center concept.
- Author:
- Luca Garulli
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNodesConcurInQuorum(ODistributedServerManager manager, ODistributedConfiguration cfg, ODistributedRequest request, Collection<String> iNodes) Returns only the subset of servers that are part of the local dc.void
-
Constructor Details
-
OEnterpriseDistributedStrategy
public OEnterpriseDistributedStrategy()
-
-
Method Details
-
validateConfiguration
- Specified by:
validateConfigurationin interfaceODistributedStrategy- Overrides:
validateConfigurationin classODefaultDistributedStrategy
-
getNodesConcurInQuorum
public Set<String> getNodesConcurInQuorum(ODistributedServerManager manager, ODistributedConfiguration cfg, ODistributedRequest request, Collection<String> iNodes) Returns only the subset of servers that are part of the local dc.- Specified by:
getNodesConcurInQuorumin interfaceODistributedStrategy- Overrides:
getNodesConcurInQuorumin classODefaultDistributedStrategy
-