public abstract class PausableSchedulableTask extends SchedulableTask
| Modifier and Type | Field and Description |
|---|---|
private boolean |
paused |
private com.google.common.eventbus.AsyncEventBus |
timerEventBus |
| Constructor and Description |
|---|
PausableSchedulableTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
pause(PauseGame evt) |
protected void |
register() |
void |
resume(ResumeGame evt) |
void |
run() |
void |
unregister() |
handleprivate boolean paused
@Autowired @Qualifier(value="timerEventBus") private com.google.common.eventbus.AsyncEventBus timerEventBus
@PostConstruct protected void register()
@PreDestroy public void unregister()
public void pause(PauseGame evt)
public void resume(ResumeGame evt)
public void run()
run in interface Runnablerun in class SchedulableTaskCopyright © 2011-2017 Sahits GmbH. All Rights Reserved.