public class TimedUpdatableTaskList extends Object
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.AsyncEventBus |
clientServerEventBus |
private Date |
date |
private TreeSet<TimedTask> |
sortedEvents |
| Constructor and Description |
|---|
TimedUpdatableTaskList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(TimedTask task)
Add a new task.
|
(package private) TimedTask |
getFirst()
Retrieve the first task.
|
void |
handleClockTick(ClockTick event) |
void |
registerWithClock()
Register as Clock update listener.
|
void |
remove(TimedTask task)
Cancel a timed task prematurely.
|
@Autowired private Date date
@Autowired @Qualifier(value="serverClientEventBus") private com.google.common.eventbus.AsyncEventBus clientServerEventBus
@PostConstruct public void registerWithClock()
public void add(TimedTask task)
task - public void remove(TimedTask task)
task - public void handleClockTick(ClockTick event)
TimedTask getFirst()
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.