|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.common.component.AbstractComponent org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider org.elasticsearch.cluster.routing.allocation.decider.SameShardAllocationDecider
public class SameShardAllocationDecider
An allocation strategy that does not allow for the same shard instance to be allocated on the same node.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider |
---|
AllocationDecider.Decision |
Field Summary |
---|
Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
componentSettings, logger, settings |
Constructor Summary | |
---|---|
SameShardAllocationDecider(Settings settings)
|
Method Summary | |
---|---|
AllocationDecider.Decision |
canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation)
|
Methods inherited from class org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider |
---|
canRebalance, canRemain |
Methods inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
nodeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public SameShardAllocationDecider(Settings settings)
Method Detail |
---|
public AllocationDecider.Decision canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)
canAllocate
in class AllocationDecider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |