Package org.elasticsearch.cluster
Class ESAllocationTestCase.TestAllocateDecision
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
-
- org.elasticsearch.cluster.ESAllocationTestCase.TestAllocateDecision
-
- Enclosing class:
- ESAllocationTestCase
public static class ESAllocationTestCase.TestAllocateDecision extends AllocationDecider
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
deprecationLogger, logger, settings
-
-
Constructor Summary
Constructors Constructor Description TestAllocateDecision(Decision decision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decision
canAllocate(RoutingNode node, RoutingAllocation allocation)
Decision
canAllocate(ShardRouting shardRouting, RoutingAllocation allocation)
Decision
canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)
-
Methods inherited from class org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
canAllocate, canForceAllocatePrimary, canRebalance, canRebalance, canRemain
-
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
-
-
-
-
Constructor Detail
-
TestAllocateDecision
public TestAllocateDecision(Decision decision)
-
-
Method Detail
-
canAllocate
public Decision canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)
- Overrides:
canAllocate
in classAllocationDecider
-
canAllocate
public Decision canAllocate(ShardRouting shardRouting, RoutingAllocation allocation)
- Overrides:
canAllocate
in classAllocationDecider
-
canAllocate
public Decision canAllocate(RoutingNode node, RoutingAllocation allocation)
- Overrides:
canAllocate
in classAllocationDecider
-
-