Package org.elasticsearch.cluster
Class ESAllocationTestCase.TestAllocateDecision
java.lang.Object
org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
org.elasticsearch.cluster.ESAllocationTestCase.TestAllocateDecision
- Enclosing class:
- ESAllocationTestCase
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncanAllocate
(ShardRouting shardRouting, RoutingAllocation allocation) canAllocate
(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation) Methods inherited from class org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
canAllocate, canAllocateReplicaWhenThereIsRetentionLease, canForceAllocateDuringReplace, canForceAllocatePrimary, canRebalance, canRebalance, canRemain, getForcedInitialShardAllocationToNodes, shouldAutoExpandToNode
-
Constructor Details
-
TestAllocateDecision
-
-
Method Details
-
canAllocate
public Decision canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation) - Overrides:
canAllocate
in classAllocationDecider
-
canAllocate
- Overrides:
canAllocate
in classAllocationDecider
-