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
Constructors Constructor Description TestAllocateDecision(org.elasticsearch.cluster.routing.allocation.decider.Decision decision) -
Method Summary
Modifier and Type Method Description org.elasticsearch.cluster.routing.allocation.decider.DecisioncanAllocate(org.elasticsearch.cluster.routing.RoutingNode node, org.elasticsearch.cluster.routing.allocation.RoutingAllocation allocation)org.elasticsearch.cluster.routing.allocation.decider.DecisioncanAllocate(org.elasticsearch.cluster.routing.ShardRouting shardRouting, org.elasticsearch.cluster.routing.allocation.RoutingAllocation allocation)org.elasticsearch.cluster.routing.allocation.decider.DecisioncanAllocate(org.elasticsearch.cluster.routing.ShardRouting shardRouting, org.elasticsearch.cluster.routing.RoutingNode node, org.elasticsearch.cluster.routing.allocation.RoutingAllocation allocation)
-
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:
canAllocatein 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:
canAllocatein classorg.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
-
canAllocate
public org.elasticsearch.cluster.routing.allocation.decider.Decision canAllocate(org.elasticsearch.cluster.routing.RoutingNode node, org.elasticsearch.cluster.routing.allocation.RoutingAllocation allocation)- Overrides:
canAllocatein classorg.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
-