|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.event.queues.TaskQueueWithErrorQueueFactory
public class TaskQueueWithErrorQueueFactory
A simple factory bean to return a correct queue implementation depending on whether we're clustered or not.
Constructor Summary | |
---|---|
TaskQueueWithErrorQueueFactory(ClusterManager clusterManager)
|
Method Summary | |
---|---|
com.atlassian.core.task.TaskQueueWithErrorQueue |
getClusteredQueue(java.lang.String name)
Returns the task queue for a given name/identifier. |
com.atlassian.core.task.TaskQueueWithErrorQueue |
getLocalQueue(java.lang.String name)
Returns the task queue for a given name/identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskQueueWithErrorQueueFactory(ClusterManager clusterManager)
Method Detail |
---|
public com.atlassian.core.task.TaskQueueWithErrorQueue getClusteredQueue(java.lang.String name)
name
- - name of the task qeue
public com.atlassian.core.task.TaskQueueWithErrorQueue getLocalQueue(java.lang.String name)
name
- - the name of the task queue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |