public class ResourceManagerComponent extends org.apache.uima.ducc.common.component.AbstractDuccComponent implements ResourceManager, SchedConstants, Runnable
org.apache.uima.ducc.common.component.AbstractDuccComponent.AdminEventProcessor, org.apache.uima.ducc.common.component.AbstractDuccComponent.ErrorProcessorSchedConstants.EvictionPolicy, SchedConstants.PolicyCOMPONENT_NAME, DEFAULT_INIT_STABILITY_COUNT, DEFAULT_INSTANCES, DEFAULT_MAX_INSTANCES, DEFAULT_MAX_PROCESSES, DEFAULT_NODE_METRICS_RATE, DEFAULT_OR_PUBLISH_RATE, DEFAULT_PRIORITY, DEFAULT_PROCESSES, DEFAULT_RM_PUBLISHING_SLOP, DEFAULT_SCHEDULING_RATE, DEFAULT_SCHEDULING_RATIO, DEFAULT_SHARE_WEIGHT, DEFAULT_STABILITY_COUNT| Constructor and Description |
|---|
ResourceManagerComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.uima.ducc.common.utils.DuccLogger |
getLogger() |
ISchedulerMain |
getScheduler() |
org.apache.uima.ducc.transport.event.RmStateDuccEvent |
getState() |
boolean |
isSchedulerReady() |
void |
onOrchestratorStateUpdate(org.apache.uima.ducc.transport.event.common.IDuccWorkMap map) |
void |
run() |
void |
runScheduler() |
void |
setNodeStability(NodeStability ns) |
void |
setTransportConfiguration(org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher eventDispatcher,
String endpoint) |
void |
start(org.apache.uima.ducc.common.main.DuccService service,
String[] args) |
protected void |
startStabilityTimer() |
adjustTransportEndpoint, cleanup, getContext, getLogLevel, getProcessJmxUrl, handleAdminEvent, handleUncaughtException, handleUncaughtException, isStopping, loadProperties, onDuccAdminKillEvent, reloadProperties, setContext, setLogLevel, setLogLevel, start, startJmxAgent, stop, uncaughtException, validateAdministratorpublic ResourceManagerComponent(org.apache.camel.CamelContext context)
public ISchedulerMain getScheduler()
public boolean isSchedulerReady()
public void setNodeStability(NodeStability ns)
public org.apache.uima.ducc.common.utils.DuccLogger getLogger()
getLogger in interface org.apache.uima.ducc.common.component.DuccComponentpublic void start(org.apache.uima.ducc.common.main.DuccService service,
String[] args)
throws Exception
start in class org.apache.uima.ducc.common.component.AbstractDuccComponentExceptionpublic org.apache.uima.ducc.transport.event.RmStateDuccEvent getState()
throws Exception
getState in interface ResourceManagerExceptionpublic void setTransportConfiguration(org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher eventDispatcher,
String endpoint)
public void runScheduler()
protected void startStabilityTimer()
public void onOrchestratorStateUpdate(org.apache.uima.ducc.transport.event.common.IDuccWorkMap map)
onOrchestratorStateUpdate in interface ResourceManagerCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.