Package org.opensearch.cluster
Class OpenSearchAllocationTestCase.TestAllocateDecision
java.lang.Object
org.opensearch.cluster.routing.allocation.decider.AllocationDecider
org.opensearch.cluster.OpenSearchAllocationTestCase.TestAllocateDecision
- Enclosing class:
- OpenSearchAllocationTestCase
public static class OpenSearchAllocationTestCase.TestAllocateDecision
extends org.opensearch.cluster.routing.allocation.decider.AllocationDecider
-
Constructor Summary
Constructors Constructor Description TestAllocateDecision(org.opensearch.cluster.routing.allocation.decider.Decision decision) -
Method Summary
Modifier and Type Method Description org.opensearch.cluster.routing.allocation.decider.DecisioncanAllocate(org.opensearch.cluster.routing.ShardRouting shardRouting, org.opensearch.cluster.routing.allocation.RoutingAllocation allocation)org.opensearch.cluster.routing.allocation.decider.DecisioncanAllocate(org.opensearch.cluster.routing.ShardRouting shardRouting, org.opensearch.cluster.routing.RoutingNode node, org.opensearch.cluster.routing.allocation.RoutingAllocation allocation)
-
Constructor Details
-
TestAllocateDecision
public TestAllocateDecision(org.opensearch.cluster.routing.allocation.decider.Decision decision)
-
-
Method Details
-
canAllocate
public org.opensearch.cluster.routing.allocation.decider.Decision canAllocate(org.opensearch.cluster.routing.ShardRouting shardRouting, org.opensearch.cluster.routing.RoutingNode node, org.opensearch.cluster.routing.allocation.RoutingAllocation allocation)- Overrides:
canAllocatein classorg.opensearch.cluster.routing.allocation.decider.AllocationDecider
-
canAllocate
public org.opensearch.cluster.routing.allocation.decider.Decision canAllocate(org.opensearch.cluster.routing.ShardRouting shardRouting, org.opensearch.cluster.routing.allocation.RoutingAllocation allocation)- Overrides:
canAllocatein classorg.opensearch.cluster.routing.allocation.decider.AllocationDecider
-