|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elasticsearch.common.component.AbstractComponent
org.elasticsearch.cluster.routing.allocation.NodeAllocation
org.elasticsearch.cluster.routing.allocation.SameShardNodeAllocation
public class SameShardNodeAllocation
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.NodeAllocation |
|---|
NodeAllocation.Decision |
| Field Summary |
|---|
| Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
|---|
componentSettings, logger, settings |
| Constructor Summary | |
|---|---|
SameShardNodeAllocation(Settings settings)
|
|
| Method Summary | |
|---|---|
NodeAllocation.Decision |
canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation)
|
| Methods inherited from class org.elasticsearch.cluster.routing.allocation.NodeAllocation |
|---|
allocateUnassigned, applyFailedShards, applyStartedShards, canRebalance |
| 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 SameShardNodeAllocation(Settings settings)
| Method Detail |
|---|
public NodeAllocation.Decision canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation)
canAllocate in class NodeAllocation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||