Class ORoundRobinClusterSelectionStrategy
java.lang.Object
com.orientechnologies.orient.core.metadata.schema.clusterselection.ORoundRobinClusterSelectionStrategy
- All Implemented Interfaces:
OClusterSelectionStrategy
public class ORoundRobinClusterSelectionStrategy
extends Object
implements OClusterSelectionStrategy
Returns the cluster selecting by round robin algorithm.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCluster(OClass clazz, int[] clusters, ODocument doc) intgetCluster(OClass iClass, ODocument doc) getName()
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ORoundRobinClusterSelectionStrategy
public ORoundRobinClusterSelectionStrategy()
-
-
Method Details
-
getCluster
- Specified by:
getClusterin interfaceOClusterSelectionStrategy
-
getCluster
- Specified by:
getClusterin interfaceOClusterSelectionStrategy
-
getName
- Specified by:
getNamein interfaceOClusterSelectionStrategy
-