protected abstract static class BasePrimaryAllocationCommand.Builder<T extends BasePrimaryAllocationCommand> extends AbstractAllocateAllocationCommand.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected boolean |
acceptDataLoss |
index, node, shard
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
BasePrimaryAllocationCommand.Builder |
readFrom(StreamInput in)
Reads an object of this type from the provided StreamInput.
|
void |
setAcceptDataLoss(boolean acceptDataLoss) |
public void setAcceptDataLoss(boolean acceptDataLoss)
public BasePrimaryAllocationCommand.Builder readFrom(StreamInput in) throws java.io.IOException
StreamableReader
readFrom
in interface StreamableReader<AbstractAllocateAllocationCommand.Builder<T extends BasePrimaryAllocationCommand>>
readFrom
in class AbstractAllocateAllocationCommand.Builder<T extends BasePrimaryAllocationCommand>
java.io.IOException