public class ReferralTaskQueue extends Object implements com.atlassian.core.task.TaskQueue
Constructor and Description |
---|
ReferralTaskQueue() |
Modifier and Type | Method and Description |
---|---|
void |
addTask(com.atlassian.core.task.Task task) |
void |
clear() |
void |
flush() |
Timestamp |
getFlushStarted() |
Collection |
getTasks() |
boolean |
isFlushing() |
void |
setReferralManager(ReferralManager referralManager) |
int |
size() |
public void addTask(com.atlassian.core.task.Task task)
addTask
in interface com.atlassian.core.task.TaskQueue
public void flush()
flush
in interface com.atlassian.core.task.TaskQueue
public int size()
size
in interface com.atlassian.core.task.TaskQueue
public boolean isFlushing()
isFlushing
in interface com.atlassian.core.task.TaskQueue
public Timestamp getFlushStarted()
getFlushStarted
in interface com.atlassian.core.task.TaskQueue
public void setReferralManager(ReferralManager referralManager)
public void clear()
clear
in interface com.atlassian.core.task.TaskQueue
public Collection getTasks()
getTasks
in interface com.atlassian.core.task.TaskQueue
Copyright © 2003–2016 Atlassian. All rights reserved.