Class BasePrimaryAllocationCommand.Builder<T extends BasePrimaryAllocationCommand>
java.lang.Object
org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder<T>
org.elasticsearch.cluster.routing.allocation.command.BasePrimaryAllocationCommand.Builder<T>
- Direct Known Subclasses:
AllocateEmptyPrimaryAllocationCommand.Builder
,AllocateStalePrimaryAllocationCommand.Builder
- Enclosing class:
- BasePrimaryAllocationCommand
protected abstract static class BasePrimaryAllocationCommand.Builder<T extends BasePrimaryAllocationCommand> extends AbstractAllocateAllocationCommand.Builder<T>
-
Field Summary
Fields Modifier and Type Field Description protected boolean
acceptDataLoss
Fields inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
index, node, shard
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
Modifier and Type Method Description void
setAcceptDataLoss(boolean acceptDataLoss)
Methods inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
build, parse, setIndex, setNode, setShard, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
acceptDataLoss
protected boolean acceptDataLoss
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
setAcceptDataLoss
public void setAcceptDataLoss(boolean acceptDataLoss)
-