public class ReplicaAfterPrimaryActiveAllocationDecider extends AllocationDecider
deprecationLogger, logger, settings| コンストラクタと説明 |
|---|
ReplicaAfterPrimaryActiveAllocationDecider(Settings settings) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Decision |
canAllocate(ShardRouting shardRouting,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be allocated at all at this state of the
RoutingAllocation. |
Decision |
canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be
allocated on the given node. |
canAllocate, canAllocate, canRebalance, canRebalance, canRemainlogDeprecatedSetting, logRemovedSetting, nodeNamepublic Decision canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)
AllocationDeciderDecision whether the given shard routing can be
allocated on the given node. The default is Decision.ALWAYS.canAllocate クラス内 AllocationDeciderpublic Decision canAllocate(ShardRouting shardRouting, RoutingAllocation allocation)
AllocationDeciderDecision whether the given shard routing can be allocated at all at this state of the
RoutingAllocation. The default is Decision.ALWAYS.canAllocate クラス内 AllocationDeciderCopyright © 2009–2016. All rights reserved.