Constructor and Description |
---|
AssignRequestBuilder() |
Modifier and Type | Method and Description |
---|---|
Assign.AssignRequestBuilder |
assignNrtReplicas(int numNrtReplicas) |
Assign.AssignRequestBuilder |
assignPullReplicas(int numPullReplicas) |
Assign.AssignRequestBuilder |
assignTlogReplicas(int numTlogReplicas) |
Assign.AssignRequest |
build() |
Assign.AssignRequestBuilder |
forCollection(String collectionName) |
Assign.AssignRequestBuilder |
forShard(List<String> shardNames) |
Assign.AssignRequestBuilder |
onNodes(List<String> nodes) |
public Assign.AssignRequestBuilder forCollection(String collectionName)
public Assign.AssignRequestBuilder forShard(List<String> shardNames)
public Assign.AssignRequestBuilder onNodes(List<String> nodes)
public Assign.AssignRequestBuilder assignNrtReplicas(int numNrtReplicas)
public Assign.AssignRequestBuilder assignTlogReplicas(int numTlogReplicas)
public Assign.AssignRequestBuilder assignPullReplicas(int numPullReplicas)
public Assign.AssignRequest build()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.