Class CoreAdminRequest.WaitForState
java.lang.Object
org.apache.solr.client.solrj.SolrRequest<CoreAdminResponse>
org.apache.solr.client.solrj.request.CoreAdminRequest
org.apache.solr.client.solrj.request.CoreAdminRequest.WaitForState
- All Implemented Interfaces:
Serializable
- Enclosing class:
CoreAdminRequest
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.request.CoreAdminRequest
CoreAdminRequest.Create, CoreAdminRequest.CreateSnapshot, CoreAdminRequest.DeleteSnapshot, CoreAdminRequest.ListSnapshots, CoreAdminRequest.MergeIndexes, CoreAdminRequest.RequestRecovery, CoreAdminRequest.RequestSyncShard, CoreAdminRequest.Unload, CoreAdminRequest.WaitForStateNested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.ApiVersion, SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Replica.StateFields inherited from class org.apache.solr.client.solrj.request.CoreAdminRequest
action, core, isIndexInfoNeeded, otherFields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe parameters for this request; never null.getState()booleanvoidsetCheckLive(Boolean checkLive) voidsetCoreNodeName(String coreNodeName) voidsetNodeName(String nodeName) voidsetOnlyIfLeader(boolean onlyIfLeader) voidsetOnlyIfLeaderActive(boolean onlyIfLeaderActive) voidsetState(Replica.State state) toString()Methods inherited from class org.apache.solr.client.solrj.request.CoreAdminRequest
createCore, createCore, createCore, createResponse, getCoreStatus, getCoreStatus, getStatus, mergeIndexes, reloadCore, renameCore, setAction, setCoreName, setIndexInfoNeeded, setOtherCoreName, swapCore, unloadCore, unloadCore, unloadCoreMethods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, addHeaders, getApiVersion, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getRequestType, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, processWithBaseUrl, requiresCollection, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setRequestType, setResponseParser, setStreamingResponseCallback, setUserPrincipal
-
Field Details
-
nodeName
-
coreNodeName
-
state
-
checkLive
-
onlyIfLeader
-
onlyIfLeaderActive
-
-
Constructor Details
-
WaitForState
public WaitForState()
-
-
Method Details
-
setNodeName
-
getNodeName
-
getCoreNodeName
-
setCoreNodeName
-
getState
-
setState
-
getCheckLive
-
setCheckLive
-
isOnlyIfLeader
public boolean isOnlyIfLeader() -
setOnlyIfLeader
public void setOnlyIfLeader(boolean onlyIfLeader) -
setOnlyIfLeaderActive
public void setOnlyIfLeaderActive(boolean onlyIfLeaderActive) -
getParams
Description copied from class:SolrRequestThe parameters for this request; never null. The runtime type may be mutable but modifications may not affect thisSolrRequestinstance, as it may return a new instance here every time. If the subclass specifies the response type asModifiableSolrParams, then one can expect it to change this request. If the subclass has a setter then one can expect this method to return the value set.- Overrides:
getParamsin classCoreAdminRequest
-
toString
-