Package org.apache.solr.handler.admin
Class CoreAdminHandler.CoreAdminAsyncTracker
- java.lang.Object
-
- org.apache.solr.handler.admin.CoreAdminHandler.CoreAdminAsyncTracker
-
- Enclosing class:
- CoreAdminHandler
public static class CoreAdminHandler.CoreAdminAsyncTracker extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoreAdminHandler.CoreAdminAsyncTracker.TaskObject
Helper class to manage the tasks to be tracked.
-
Constructor Summary
Constructors Constructor Description CoreAdminAsyncTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,CoreAdminHandler.CoreAdminAsyncTracker.TaskObject>
getRequestStatusMap(String key)
void
shutdown()
void
submitAsyncTask(CoreAdminHandler.CoreAdminAsyncTracker.TaskObject taskObject)
-
-
-
Field Detail
-
RUNNING
public static final String RUNNING
- See Also:
- Constant Field Values
-
COMPLETED
public static final String COMPLETED
- See Also:
- Constant Field Values
-
FAILED
public static final String FAILED
- See Also:
- Constant Field Values
-
requestStatusMap
public final Map<String,Map<String,CoreAdminHandler.CoreAdminAsyncTracker.TaskObject>> requestStatusMap
-
-
Method Detail
-
shutdown
public void shutdown()
-
getRequestStatusMap
public Map<String,CoreAdminHandler.CoreAdminAsyncTracker.TaskObject> getRequestStatusMap(String key)
-
submitAsyncTask
public void submitAsyncTask(CoreAdminHandler.CoreAdminAsyncTracker.TaskObject taskObject) throws org.apache.solr.common.SolrException
- Throws:
org.apache.solr.common.SolrException
-
-