org.apache.sling.event.jobs
Interface QueueConfiguration

All Known Implementing Classes:
InternalQueueConfiguration

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()
          Deprecated. This information is not used anymore
 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()
          Deprecated. This information is not used anymore
 

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

@Deprecated
boolean isLocalQueue()
Deprecated. This information is not used anymore


getApplicationIds

@Deprecated
String[] getApplicationIds()
Deprecated. This information is not used anymore


getTopics

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


getRanking

int getRanking()
Get the ranking of this configuration.



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