public class StandardBackendManager extends Object implements BackendManager
Constructor and Description |
---|
StandardBackendManager() |
Modifier and Type | Method and Description |
---|---|
void |
addSet(String queue,
Monitor monitor,
Batchmgr batchmgr,
Scheduler scheduler)
Add in a backend set to this manager.
|
Batchmgr |
getBatchmgr(String queue)
Return batch manager for the given queue.
|
Monitor |
getMonitor(String queue)
Return monitor for the given queue.
|
List<Monitor> |
getMonitors()
Return a list of all monitors.
|
Scheduler |
getScheduler(String queue)
Return scheduler for the given queue.
|
public void addSet(String queue, Monitor monitor, Batchmgr batchmgr, Scheduler scheduler)
addSet
in interface BackendManager
queue
- - queue that maps to the given monitor, batchmgr, and schedulermonitor
- - monitor used for this setbatchmgr
- - batch manager for this setscheduler
- - scheduler for this setpublic Monitor getMonitor(String queue) throws QueueManagerException
getMonitor
in interface BackendManager
queue
- - queue to checkQueueManagerException
- when queue does not existpublic Batchmgr getBatchmgr(String queue) throws QueueManagerException
getBatchmgr
in interface BackendManager
queue
- - queue to checkQueueManagerException
- when queue does not existpublic Scheduler getScheduler(String queue) throws QueueManagerException
getScheduler
in interface BackendManager
queue
- - queue to checkQueueManagerException
- when queue does not existpublic List<Monitor> getMonitors()
getMonitors
in interface BackendManager
Copyright © 1999–2017 Apache OODT. All rights reserved.