public class ODefaultClusterOwnershipAssignmentStrategy extends Object implements OClusterOwnershipAssignmentStrategy
Constructor and Description |
---|
ODefaultClusterOwnershipAssignmentStrategy(ODistributedAbstractPlugin manager) |
Modifier and Type | Method and Description |
---|---|
List<String> |
assignClusterOwnershipOfClass(ODatabaseInternal iDatabase,
OModifiableDistributedConfiguration cfg,
OClass iClass,
Set<String> availableNodes,
boolean canCreateNewClusters) |
protected Map<String,String> |
reassignClusters(ODistributedConfiguration cfg,
Set<String> availableNodes,
Set<String> clusterNames) |
public ODefaultClusterOwnershipAssignmentStrategy(ODistributedAbstractPlugin manager)
public List<String> assignClusterOwnershipOfClass(ODatabaseInternal iDatabase, OModifiableDistributedConfiguration cfg, OClass iClass, Set<String> availableNodes, boolean canCreateNewClusters)
assignClusterOwnershipOfClass
in interface OClusterOwnershipAssignmentStrategy
Copyright © 2009–2020 OrientDB. All rights reserved.