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
public static class ESAllocationTestCase.TestAllocateDecision
extends org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
-
Constructor Summary
ConstructorDescriptionTestAllocateDecision
(org.elasticsearch.cluster.routing.allocation.decider.Decision decision) -
Method Summary
Modifier and TypeMethodDescriptionorg.elasticsearch.cluster.routing.allocation.decider.Decision
canAllocate
(org.elasticsearch.cluster.routing.ShardRouting shardRouting, org.elasticsearch.cluster.routing.allocation.RoutingAllocation allocation) org.elasticsearch.cluster.routing.allocation.decider.Decision
canAllocate
(org.elasticsearch.cluster.routing.ShardRouting shardRouting, org.elasticsearch.cluster.routing.RoutingNode node, org.elasticsearch.cluster.routing.allocation.RoutingAllocation allocation) Methods inherited from class org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
canAllocate, canAllocateReplicaWhenThereIsRetentionLease, canForceAllocateDuringReplace, canForceAllocatePrimary, canRebalance, canRebalance, canRemain, shouldAutoExpandToNode
-
Constructor Details
-
TestAllocateDecision
public TestAllocateDecision(org.elasticsearch.cluster.routing.allocation.decider.Decision decision)
-
-
Method Details
-
canAllocate
public org.elasticsearch.cluster.routing.allocation.decider.Decision canAllocate(org.elasticsearch.cluster.routing.ShardRouting shardRouting, org.elasticsearch.cluster.routing.RoutingNode node, org.elasticsearch.cluster.routing.allocation.RoutingAllocation allocation) - Overrides:
canAllocate
in classorg.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
-
canAllocate
public org.elasticsearch.cluster.routing.allocation.decider.Decision canAllocate(org.elasticsearch.cluster.routing.ShardRouting shardRouting, org.elasticsearch.cluster.routing.allocation.RoutingAllocation allocation) - Overrides:
canAllocate
in classorg.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
-