
public class OBalancedClusterSelectionStrategy extends Object implements OClusterSelectionStrategy
| Modifier and Type | Field and Description |
|---|---|
protected long |
lastCount |
static String |
NAME |
protected static long |
REFRESH_TIMEOUT |
protected int |
smallerClusterId |
| Constructor and Description |
|---|
OBalancedClusterSelectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCluster(OClass iClass,
int[] clusters,
ODocument doc) |
int |
getCluster(OClass iClass,
ODocument doc) |
String |
getName() |
public static final String NAME
protected static final long REFRESH_TIMEOUT
protected long lastCount
protected int smallerClusterId
public int getCluster(OClass iClass, ODocument doc)
getCluster in interface OClusterSelectionStrategypublic int getCluster(OClass iClass, int[] clusters, ODocument doc)
getCluster in interface OClusterSelectionStrategypublic String getName()
getName in interface OClusterSelectionStrategyCopyright © 2009–2025 OrientDB. All rights reserved.