com.atlassian.core.task
Class AbstractErrorQueuedTaskQueue
java.lang.Object
com.atlassian.core.task.AbstractTaskQueue
com.atlassian.core.task.AbstractErrorQueuedTaskQueue
- All Implemented Interfaces:
- TaskQueue, TaskQueueWithErrorQueue
- Direct Known Subclasses:
- ErrorQueuedTaskQueue
public class AbstractErrorQueuedTaskQueue
- extends AbstractTaskQueue
- implements TaskQueueWithErrorQueue
Created by IntelliJ IDEA.
User: Tomd
Date: 26/04/2006
Time: 11:22:54
To change this template use File | Settings | File Templates.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractErrorQueuedTaskQueue
public AbstractErrorQueuedTaskQueue(TaskQueue errorQueue,
FifoBuffer buffer)
flush
public void flush()
- Description copied from interface:
TaskQueue
- Will execute every task in the queue
- Specified by:
flush in interface TaskQueue- Overrides:
flush in class AbstractTaskQueue
handleException
protected void handleException(Task task,
java.lang.Exception rootException)
- Overrides:
handleException in class AbstractTaskQueue
addTask
public void addTask(Task task)
- Description copied from interface:
TaskQueue
- Adds a task to the end of the queue
- Specified by:
addTask in interface TaskQueue- Overrides:
addTask in class AbstractTaskQueue
- Parameters:
task - the task to add
getErrorQueue
public TaskQueue getErrorQueue()
- Specified by:
getErrorQueue in interface TaskQueueWithErrorQueue
getRetryCount
public int getRetryCount()
setRetryCount
public void setRetryCount(int retryCount)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.