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
public static class CoreAdminRequest.WaitForState extends CoreAdminRequest
- See Also:
- Serialized Form
-
-
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.OverrideLastPublished, CoreAdminRequest.RequestRecovery, CoreAdminRequest.RequestSyncShard, CoreAdminRequest.Unload, CoreAdminRequest.WaitForState
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.METHOD
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
checkLive
protected String
coreNodeName
protected String
nodeName
protected Boolean
onlyIfLeader
protected Boolean
onlyIfLeaderActive
protected Replica.State
state
-
Fields inherited from class org.apache.solr.client.solrj.request.CoreAdminRequest
action, core, isIndexInfoNeeded, other
-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description WaitForState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getCheckLive()
String
getCoreNodeName()
String
getNodeName()
SolrParams
getParams()
Replica.State
getState()
boolean
isOnlyIfLeader()
void
setCheckLive(Boolean checkLive)
void
setCoreNodeName(String coreNodeName)
void
setNodeName(String nodeName)
void
setOnlyIfLeader(boolean onlyIfLeader)
void
setOnlyIfLeaderActive(boolean onlyIfLeaderActive)
void
setState(Replica.State state)
String
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, unloadCore
-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
-
-
-
Method Detail
-
setNodeName
public void setNodeName(String nodeName)
-
getNodeName
public String getNodeName()
-
getCoreNodeName
public String getCoreNodeName()
-
setCoreNodeName
public void setCoreNodeName(String coreNodeName)
-
getState
public Replica.State getState()
-
setState
public void setState(Replica.State state)
-
getCheckLive
public Boolean getCheckLive()
-
setCheckLive
public void setCheckLive(Boolean checkLive)
-
isOnlyIfLeader
public boolean isOnlyIfLeader()
-
setOnlyIfLeader
public void setOnlyIfLeader(boolean onlyIfLeader)
-
setOnlyIfLeaderActive
public void setOnlyIfLeaderActive(boolean onlyIfLeaderActive)
-
getParams
public SolrParams getParams()
- Overrides:
getParams
in classCoreAdminRequest
-
-