Package | Description |
---|---|
org.elasticsearch.cluster.routing.allocation | |
org.elasticsearch.cluster.routing.allocation.command |
Modifier and Type | Method and Description |
---|---|
RoutingAllocation.Result |
AllocationService.reroute(ClusterState clusterState,
AllocationCommands commands) |
RoutingAllocation.Result |
AllocationService.reroute(ClusterState clusterState,
AllocationCommands commands,
boolean explain) |
Modifier and Type | Method and Description |
---|---|
AllocationCommands |
AllocationCommands.add(AllocationCommand... commands)
Adds a set of commands to this collection
|
static AllocationCommands |
AllocationCommands.fromXContent(XContentParser parser)
Reads
AllocationCommands from a XContentParser |
static AllocationCommands |
AllocationCommands.readFrom(StreamInput in)
Reads a
AllocationCommands from a StreamInput |
Modifier and Type | Method and Description |
---|---|
static void |
AllocationCommands.toXContent(AllocationCommands commands,
XContentBuilder builder,
ToXContent.Params params)
Writes
AllocationCommands to a XContentBuilder |
static void |
AllocationCommands.writeTo(AllocationCommands commands,
StreamOutput out)
Writes
AllocationCommands to a StreamOutput |
Copyright © 2009–2015. All rights reserved.