Package org.apache.pinot.common.minion
Class MinionClient
- java.lang.Object
-
- org.apache.pinot.common.minion.MinionClient
-
-
Constructor Summary
Constructors Constructor Description MinionClient(String controllerUrl)MinionClient(String controllerHost, String controllerPort)MinionClient(String scheme, String controllerHost, String controllerPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetControllerUrl()Map<String,String>getTasksStates(String taskType)StringgetTaskState(String taskName)Map<String,String>scheduleMinionTasks(String taskType, String tableNameWithType)
-
-
-
Method Detail
-
getControllerUrl
public String getControllerUrl()
-
scheduleMinionTasks
public Map<String,String> scheduleMinionTasks(@Nullable String taskType, @Nullable String tableNameWithType) throws IOException
- Throws:
IOException
-
getTasksStates
public Map<String,String> getTasksStates(String taskType) throws IOException
- Throws:
IOException
-
getTaskState
public String getTaskState(String taskName) throws IOException
- Throws:
IOException
-
-