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
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description AllocateStalePrimaryAllocationCommand
build()
AllocateStalePrimaryAllocationCommand.Builder
parse(XContentParser parser)
-
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
-
-
-
-
Method Detail
-
parse
public AllocateStalePrimaryAllocationCommand.Builder parse(XContentParser parser) throws java.io.IOException
- Specified by:
parse
in classAbstractAllocateAllocationCommand.Builder<AllocateStalePrimaryAllocationCommand>
- Throws:
java.io.IOException
-
build
public AllocateStalePrimaryAllocationCommand build()
- Specified by:
build
in classAbstractAllocateAllocationCommand.Builder<AllocateStalePrimaryAllocationCommand>
-
-