Package org.alfresco.util.shard
Class ExplicitShardingPolicy
- java.lang.Object
-
- org.alfresco.util.shard.ExplicitShardingPolicy
-
public class ExplicitShardingPolicy extends Object
Common ACL based index sharding behaviour for SOLR and the repository- Author:
- Andy
-
-
Constructor Summary
Constructors Constructor Description ExplicitShardingPolicy(int numShards, int replicationFactor, int numNodes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configurationIsValid()
List<Integer>
getNodeInstancesForShardId(int shardId)
List<Integer>
getShardIdsForNode(int nodeInstance)
-