Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
Created by IntelliJ IDEA.
User: Tomd
Date: 26/04/2006
Time: 11:17:36
To change this template use File | Settings | File Templates.
Summary
| Public Methods |
|
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
|
getQueue()
This method is deprecated.
use getTasks() instead.
|
|
Collection
|
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
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.core.task.TaskQueue
|
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
|
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
|
|
Fields
Public Constructors
Public Methods
public
void
addTask
(Task task)
Adds a task to the end of the queue
public
void
clear
()
Throw away all the tasks in the queue
public
void
flush
()
Will execute every task in the queue
public
Timestamp
getFlushStarted
()
Obtains the time when the queue started flushing. This returns null
if the queue is not being flushed
Returns
- the time when the queue started flushing
This method is deprecated.
use getTasks() instead.
Get a Collection of the Tasks currently in the queue
public
boolean
isFlushing
()
Returns true if the queue is currently flushing or false otherwise
Returns
- true if the queue is currently flushing or false otherwise
public
int
size
()
Obtains the current size of the queue
Protected Methods