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 OClusterSelectionStrategy
public int getCluster(OClass iClass, int[] clusters, ODocument doc)
getCluster
in interface OClusterSelectionStrategy
public String getName()
getName
in interface OClusterSelectionStrategy
Copyright © 2009–2020 OrientDB. All rights reserved.