public interface TaskQueue
Task| Modifier and Type | Method and Description |
|---|---|
void |
addTask(Task task)
Adds a task to the end of the queue
|
void |
clear()
Throw away all the tasks in the queue
|
void |
flush()
Will execute every task in the queue
|
Timestamp |
getFlushStarted()
Obtains the time when the queue started flushing.
|
Collection<Task> |
getTasks()
Get a Collection of the Tasks currently in the queue
|
boolean |
isFlushing()
Returns true if the queue is currently flushing or false otherwise
|
int |
size()
Obtains the current size of the queue
|
void flush()
int size()
void addTask(Task task)
task - the task to addboolean isFlushing()
Timestamp getFlushStarted()
void clear()
Collection<Task> getTasks()
Copyright © 2016 Atlassian. All rights reserved.