Interface JSONAPIResult
-
- All Known Implementing Classes:
AbstractJSONAPIResult,SolrActionAclReportResult,SolrActionAclTxReportResult,SolrActionCheckResult,SolrActionFixResult,SolrActionNodeReportResult,SolrActionReportResult,SolrActionStatusResult,SolrActionTxReportResult,SolrCommandBackupResult
public interface JSONAPIResultJSON returned from SOLR API- Since:
- 6.2
- Author:
- aborroy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getCores()Name of the cores managed by SOLRMap<String,Map<String,Object>>getCoresInfo()Information from the cores to be exposed in JMX Beans The names and the structure of the properties depend on the type of the ActionLonggetQueryTime()Time to perform the requested action or command in SOLRLonggetStatus()HTTP Response code But for 200, that is being returned as 0
-
-
-
Method Detail
-
getQueryTime
Long getQueryTime()
Time to perform the requested action or command in SOLR- Returns:
- Number of milliseconds
-
getStatus
Long getStatus()
HTTP Response code But for 200, that is being returned as 0- Returns:
- Number representing an HTTP Status
-
getCores
List<String> getCores()
Name of the cores managed by SOLR- Returns:
- A list with the names of the cores
-
-