Class AllocateStalePrimaryAllocationCommand.Builder
java.lang.Object
org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder<T>
org.elasticsearch.cluster.routing.allocation.command.BasePrimaryAllocationCommand.Builder<AllocateStalePrimaryAllocationCommand>
org.elasticsearch.cluster.routing.allocation.command.AllocateStalePrimaryAllocationCommand.Builder
- Enclosing class:
- AllocateStalePrimaryAllocationCommand
public static class AllocateStalePrimaryAllocationCommand.Builder
extends BasePrimaryAllocationCommand.Builder<AllocateStalePrimaryAllocationCommand>
-
Field Summary
Fields inherited from class org.elasticsearch.cluster.routing.allocation.command.BasePrimaryAllocationCommand.Builder
acceptDataLoss
Fields inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
index, node, shard
-
Constructor Summary
-
Method Summary
Methods inherited from class org.elasticsearch.cluster.routing.allocation.command.BasePrimaryAllocationCommand.Builder
setAcceptDataLoss
Methods inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
setIndex, setNode, setShard, validate
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parse
public AllocateStalePrimaryAllocationCommand.Builder parse(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Specified by:
parse
in classAbstractAllocateAllocationCommand.Builder<AllocateStalePrimaryAllocationCommand>
- Throws:
IOException
-
build
- Specified by:
build
in classAbstractAllocateAllocationCommand.Builder<AllocateStalePrimaryAllocationCommand>
-