org.apache.uima.ducc.rm.event
Class ResourceManagerEventListener
java.lang.Object
org.apache.uima.ducc.rm.event.ResourceManagerEventListener
- All Implemented Interfaces:
- SchedConstants, org.apache.uima.ducc.transport.event.delegate.DuccEventDelegateListener
public class ResourceManagerEventListener
- extends Object
- implements org.apache.uima.ducc.transport.event.delegate.DuccEventDelegateListener, SchedConstants
| Fields inherited from interface org.apache.uima.ducc.rm.scheduler.SchedConstants |
COMPONENT_NAME, DEFAULT_INIT_STABILITY_COUNT, DEFAULT_INSTANCES, DEFAULT_MAX_INSTANCES, DEFAULT_MAX_PROCESSES, DEFAULT_NODE_METRICS_RATE, DEFAULT_PRIORITY, DEFAULT_PROCESSES, DEFAULT_SCHEDULING_RATE, DEFAULT_SCHEDULING_RATIO, DEFAULT_SHARE_WEIGHT, DEFAULT_STABILITY_COUNT |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceManagerEventListener
public ResourceManagerEventListener(ResourceManager rm)
getEventDispatcher
public org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher getEventDispatcher()
setEventDispatcher
public void setEventDispatcher(org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher eventDispatcher)
setNodeStability
public void setNodeStability(org.apache.uima.ducc.common.ANodeStability ns)
getTargetEndpoint
public String getTargetEndpoint()
setTargetEndpoint
public void setTargetEndpoint(String targetEndpoint)
setDuccEventDispatcher
public void setDuccEventDispatcher(org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher eventDispatcher)
- Specified by:
setDuccEventDispatcher in interface org.apache.uima.ducc.transport.event.delegate.DuccEventDelegateListener
setEndpoint
public void setEndpoint(String endpoint)
onNodeMetricsEvent
public void onNodeMetricsEvent(@Body
org.apache.uima.ducc.transport.event.NodeMetricsUpdateDuccEvent duccEvent)
throws Exception
- Receives
NodeMetricsUpdateDuccEvent events from transport.
- Parameters:
duccEvent -
- Throws:
Exception
onNodeInventoryUpdateEvent
public void onNodeInventoryUpdateEvent(@Body
org.apache.uima.ducc.transport.event.NodeInventoryUpdateDuccEvent duccEvent)
throws Exception
- Throws:
Exception
onOrchestratorStateUpdateEvent
public void onOrchestratorStateUpdateEvent(@Body
org.apache.uima.ducc.transport.event.OrchestratorStateDuccEvent duccEvent)
throws Exception
- Receives
OrchestratorDuccEvent events from transport.
- Parameters:
duccEvent -
- Throws:
Exception
onOrchestratedAbbreviatedStateUpdateEvent
public void onOrchestratedAbbreviatedStateUpdateEvent(@Body
org.apache.uima.ducc.transport.event.OrchestratorAbbreviatedStateDuccEvent duccEvent)
throws Exception
- Receives
OrchestratedAbbreviatedDuccEvent events from transport.
- Parameters:
duccEvent -
- Throws:
Exception
Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.