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 java.util.List<java.lang.String>getCores()Name of the cores managed by SOLRjava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.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 Actionjava.lang.LonggetQueryTime()Time to perform the requested action or command in SOLRjava.lang.LonggetStatus()HTTP Response code But for 200, that is being returned as 0
-
-
-
Method Detail
-
getQueryTime
java.lang.Long getQueryTime()
Time to perform the requested action or command in SOLR- Returns:
- Number of milliseconds
-
getStatus
java.lang.Long getStatus()
HTTP Response code But for 200, that is being returned as 0- Returns:
- Number representing an HTTP Status
-
getCores
java.util.List<java.lang.String> getCores()
Name of the cores managed by SOLR- Returns:
- A list with the names of the cores
-
getCoresInfo
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.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 Action- Returns:
- Core information by core name
-
-