Package org.apache.solr.handler.admin
Class CoreAdminHandler.CoreAdminAsyncTracker.TaskObject
- java.lang.Object
-
- org.apache.solr.handler.admin.CoreAdminHandler.CoreAdminAsyncTracker.TaskObject
-
- Enclosing class:
- CoreAdminHandler.CoreAdminAsyncTracker
public static class CoreAdminHandler.CoreAdminAsyncTracker.TaskObject extends Object
Helper class to manage the tasks to be tracked. This contains the taskId, request and the response (if available).
-
-
Field Summary
Fields Modifier and Type Field Description Object
operationRspInfo
String
rspInfo
-
Constructor Summary
Constructors Constructor Description TaskObject(String taskId, String action, boolean expensive, Callable<SolrQueryResponse> task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getOperationRspObject()
String
getRspObject()
void
setOperationRspObject(SolrQueryResponse rspObject)
void
setRspObject(SolrQueryResponse rspObject)
void
setRspObjectFromException(Exception e)
-
-
-
Constructor Detail
-
TaskObject
public TaskObject(String taskId, String action, boolean expensive, Callable<SolrQueryResponse> task)
-
-
Method Detail
-
getRspObject
public String getRspObject()
-
setRspObject
public void setRspObject(SolrQueryResponse rspObject)
-
setRspObjectFromException
public void setRspObjectFromException(Exception e)
-
getOperationRspObject
public Object getOperationRspObject()
-
setOperationRspObject
public void setOperationRspObject(SolrQueryResponse rspObject)
-
-