org.apache.sling.event.jobs
Interface QueueConfiguration


public interface QueueConfiguration

The configuration of a queue.

Since:
3.0

Nested Class Summary
static class QueueConfiguration.Type
          The queue type.
 
Method Summary
 String[] getApplicationIds()
          Application ids - returns an array of application ids if this queue is bound to some cluster nodes.
 int getMaxParallel()
          Return the max number of parallel processes.
 int getMaxRetries()
          Return the max number of retries, -1 for endless retry!
 JobUtil.JobPriority getPriority()
          Return the thread priority for the job thread.
 int getRanking()
          Get the ranking of this configuration.
 long getRetryDelayInMs()
          Return the retry delay in ms
 String[] getTopics()
          The list of topics this queue is bound to.
 QueueConfiguration.Type getType()
          Return the queue type.
 boolean isLocalQueue()
          Is this a local running queue (= processing only jobs started on the same instance.)
 

Method Detail

getRetryDelayInMs

long getRetryDelayInMs()
Return the retry delay in ms


getMaxRetries

int getMaxRetries()
Return the max number of retries, -1 for endless retry!


getType

QueueConfiguration.Type getType()
Return the queue type.


getPriority

JobUtil.JobPriority getPriority()
Return the thread priority for the job thread.


getMaxParallel

int getMaxParallel()
Return the max number of parallel processes.


isLocalQueue

boolean isLocalQueue()
Is this a local running queue (= processing only jobs started on the same instance.)


getApplicationIds

String[] getApplicationIds()
Application ids - returns an array of application ids if this queue is bound to some cluster nodes.


getTopics

String[] getTopics()
The list of topics this queue is bound to.


getRanking

int getRanking()
Get the ranking of this configuration.



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