org.apache.sling.event.impl.jobs.config
Class MainQueueConfiguration

java.lang.Object
  extended by org.apache.sling.event.impl.jobs.config.MainQueueConfiguration

@Service(value=MainQueueConfiguration.class)
@Properties(value={@Property(name="queue.priority",value="NORM",options={@PropertyOption(name="NORM",value="Norm"),@PropertyOption(name="MIN",value="Min"),@PropertyOption(name="MAX",value="Max")}),@Property(name="queue.retries",intValue=10),@Property(name="queue.retrydelay",longValue=2000L),@Property(name="queue.maxparallel",intValue=15)})
public class MainQueueConfiguration
extends Object

This is the configuration for the main queue.


Constructor Summary
MainQueueConfiguration()
           
 
Method Summary
protected  void activate(Map<String,Object> props)
          Activate this component.
 InternalQueueConfiguration getMainConfiguration()
           
protected  void update(Map<String,Object> props)
          Configure this component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainQueueConfiguration

public MainQueueConfiguration()
Method Detail

activate

@Activate
protected void activate(Map<String,Object> props)
Activate this component.

Parameters:
props - Configuration properties

update

@Modified
protected void update(Map<String,Object> props)
Configure this component.

Parameters:
props - Configuration properties

getMainConfiguration

public InternalQueueConfiguration getMainConfiguration()


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.