public class MoveAllocationCommand extends Object implements AllocationCommand
ShardRoutingState.STARTED in order to be moved.| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
MoveAllocationCommand.Factory |
| コンストラクタと説明 |
|---|
MoveAllocationCommand(ShardId shardId,
String fromNode,
String toNode) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
RerouteExplanation |
execute(RoutingAllocation allocation,
boolean explain)
Executes the command on a
RoutingAllocation setup |
String |
fromNode() |
String |
name()
Get the name of the command
|
ShardId |
shardId() |
String |
toNode() |
public String name()
AllocationCommandname インタフェース内 AllocationCommandpublic ShardId shardId()
public String fromNode()
public String toNode()
public RerouteExplanation execute(RoutingAllocation allocation, boolean explain)
AllocationCommandRoutingAllocation setupexecute インタフェース内 AllocationCommandallocation - RoutingAllocation to modifyCopyright © 2009–2016. All rights reserved.