org.apache.uima.ducc.rm.config
Class ResourceManagerConfiguration

java.lang.Object
  extended by org.apache.uima.ducc.rm.config.ResourceManagerConfiguration
All Implemented Interfaces:
SchedConstants

@Configuration
@Import(value={org.apache.uima.ducc.transport.DuccTransportConfiguration.class,org.apache.uima.ducc.common.config.CommonConfiguration.class})
public class ResourceManagerConfiguration
extends Object
implements SchedConstants


Nested Class Summary
 class ResourceManagerConfiguration.NodeInventoryProcessor
           
 class ResourceManagerConfiguration.NodeMetricsProcessor
           
 class ResourceManagerConfiguration.ResourceManagerStateUpdateProcessor
           
 
Nested classes/interfaces inherited from interface org.apache.uima.ducc.rm.scheduler.SchedConstants
SchedConstants.EvictionPolicy, SchedConstants.Policy
 
Field Summary
 
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
 
Constructor Summary
ResourceManagerConfiguration()
           
 
Method Summary
 ResourceManagerComponent resourceManager()
           
 ResourceManagerEventListener resourceManagerDelegateListener(ResourceManagerComponent rm)
           
 org.apache.camel.builder.RouteBuilder routeBuilderForEndpoint(String endpoint, ResourceManagerEventListener delegate)
           
 org.apache.camel.builder.RouteBuilder routeBuilderForJmEndpoint(String endpoint, ResourceManagerEventListener delegate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceManagerConfiguration

public ResourceManagerConfiguration()
Method Detail

resourceManagerDelegateListener

public ResourceManagerEventListener resourceManagerDelegateListener(ResourceManagerComponent rm)

routeBuilderForEndpoint

public org.apache.camel.builder.RouteBuilder routeBuilderForEndpoint(String endpoint,
                                                                     ResourceManagerEventListener delegate)

routeBuilderForJmEndpoint

public org.apache.camel.builder.RouteBuilder routeBuilderForJmEndpoint(String endpoint,
                                                                       ResourceManagerEventListener delegate)

resourceManager

@Bean
public ResourceManagerComponent resourceManager()
                                         throws Throwable
Throws:
Throwable


Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.