public static class CollectionAdminRequest.RebalanceLeaders extends CollectionAdminRequest.AsyncCollectionAdminRequest
CollectionAdminRequest.AddReplica, CollectionAdminRequest.AddReplicaProp, CollectionAdminRequest.AddRole, CollectionAdminRequest.AsyncCollectionAdminRequest, CollectionAdminRequest.AsyncCollectionSpecificAdminRequest, CollectionAdminRequest.AsyncShardSpecificAdminRequest, CollectionAdminRequest.Backup, CollectionAdminRequest.BalanceShardUnique, CollectionAdminRequest.ClusterProp, CollectionAdminRequest.ClusterStatus, CollectionAdminRequest.CollectionAdminRoleRequest, CollectionAdminRequest.Create, CollectionAdminRequest.CreateAlias, CollectionAdminRequest.CreateShard, CollectionAdminRequest.CreateSnapshot, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteNode, CollectionAdminRequest.DeleteReplica, CollectionAdminRequest.DeleteReplicaProp, CollectionAdminRequest.DeleteShard, CollectionAdminRequest.DeleteSnapshot, CollectionAdminRequest.DeleteStatus, CollectionAdminRequest.ForceLeader, CollectionAdminRequest.List, CollectionAdminRequest.ListAliases, CollectionAdminRequest.ListSnapshots, CollectionAdminRequest.Migrate, CollectionAdminRequest.MigrateClusterState, CollectionAdminRequest.MoveReplica, CollectionAdminRequest.OverseerStatus, CollectionAdminRequest.RebalanceLeaders, CollectionAdminRequest.Reload, CollectionAdminRequest.RemoveRole, CollectionAdminRequest.ReplaceNode, CollectionAdminRequest.RequestStatus, CollectionAdminRequest.RequestStatusResponse, CollectionAdminRequest.Restore, CollectionAdminRequest.ShardSpecificAdminRequest, CollectionAdminRequest.SplitShard
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
protected String |
collection |
protected Integer |
maxAtOnce |
protected Integer |
maxWaitSeconds |
asyncId
action
SUPPORTED_METHODS
Constructor and Description |
---|
RebalanceLeaders(String collection) |
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxAtOnce() |
Integer |
getMaxWaitSeconds() |
SolrParams |
getParams() |
CollectionAdminRequest.RebalanceLeaders |
setAsyncId(String id) |
CollectionAdminRequest.RebalanceLeaders |
setMaxAtOnce(Integer maxAtOnce) |
CollectionAdminRequest.RebalanceLeaders |
setMaxWaitSeconds(Integer maxWaitSeconds) |
createResponse, getAsyncId, processAndWait, processAndWait, processAsync, processAsync
addProperties, addReplicaByRouteKey, addReplicaProperty, addReplicaToShard, addRole, backupCollection, balanceReplicaProperty, createAlias, createCollection, createCollection, createCollectionWithImplicitRouter, createShard, deleteAlias, deleteAllAsyncIds, deleteAsyncId, deleteCollection, deleteReplica, deleteReplicaProperty, deleteReplicasFromAllShards, deleteReplicasFromShard, deleteShard, forceLeaderElection, getClusterStatus, getContentStreams, getOverseerStatus, listCollections, migrateCollectionFormat, migrateData, rebalanceLeaders, reloadCollection, removeRole, requestStatus, restoreCollection, setClusterProperty, splitShard, waitForAsyncRequest
getBasicAuthPassword, getBasicAuthUser, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback
protected Integer maxAtOnce
protected Integer maxWaitSeconds
protected String collection
public RebalanceLeaders(String collection)
public CollectionAdminRequest.RebalanceLeaders setMaxAtOnce(Integer maxAtOnce)
public CollectionAdminRequest.RebalanceLeaders setMaxWaitSeconds(Integer maxWaitSeconds)
public Integer getMaxAtOnce()
public Integer getMaxWaitSeconds()
public CollectionAdminRequest.RebalanceLeaders setAsyncId(String id)
setAsyncId
in class CollectionAdminRequest.AsyncCollectionAdminRequest
public SolrParams getParams()
getParams
in class CollectionAdminRequest.AsyncCollectionAdminRequest
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.