public static class CollectionAdminRequest.RequestStatus extends CollectionAdminRequest<CollectionAdminRequest.RequestStatusResponse>
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.ListSnapshots, CollectionAdminRequest.Migrate, CollectionAdminRequest.MigrateClusterState, 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 |
requestId |
action
Constructor and Description |
---|
RequestStatus()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected CollectionAdminRequest.RequestStatusResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
SolrParams |
getParams() |
String |
getRequestId() |
CollectionAdminRequest.RequestStatus |
setRequestId(String requestId)
Deprecated.
|
RequestStatusState |
waitFor(SolrClient client,
long timeoutSeconds)
Wait until the asynchronous request is either completed or failed, up to a timeout
|
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 String requestId
@Deprecated public RequestStatus()
CollectionAdminRequest.requestStatus(String)
@Deprecated public CollectionAdminRequest.RequestStatus setRequestId(String requestId)
public String getRequestId()
public SolrParams getParams()
getParams
in class CollectionAdminRequest<CollectionAdminRequest.RequestStatusResponse>
protected CollectionAdminRequest.RequestStatusResponse createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<CollectionAdminRequest.RequestStatusResponse>
client
- the SolrClient
the request will be sent topublic RequestStatusState waitFor(SolrClient client, long timeoutSeconds) throws IOException, SolrServerException, InterruptedException
client
- a SolrClienttimeoutSeconds
- the maximum time to wait in secondsIOException
SolrServerException
InterruptedException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.