public interface WorkerInfoDAO
| Modifier and Type | Method and Description |
|---|---|
long |
getActiveWorkerCount() |
List<WorkerInfo> |
getActiveWorkers() |
List<WorkerInfo> |
getAllWorkers() |
long |
getPausedWorkerCount() |
List<WorkerInfo> |
getPausedWorkers() |
WorkerInfo |
getWorker(String workerName) |
long |
getWorkerCount() |
Map<String,List<WorkerInfo>> |
getWorkerHostMap() |
void |
removeWorker(String workerName)
Removes the metadata about a worker.
|
long getWorkerCount()
long getActiveWorkerCount()
long getPausedWorkerCount()
List<WorkerInfo> getActiveWorkers()
List<WorkerInfo> getPausedWorkers()
List<WorkerInfo> getAllWorkers()
WorkerInfo getWorker(String workerName)
workerName - the name of the workerMap<String,List<WorkerInfo>> getWorkerHostMap()
void removeWorker(String workerName)
workerName - The worker name to removeCopyright © 2011-2015. All Rights Reserved.