public class DefaultGScheduler extends java.lang.Object implements GScheduler
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
daemon |
private java.util.concurrent.ThreadFactory |
daemonThreadGroup |
private java.util.concurrent.ScheduledThreadPoolExecutor |
executor |
| Constructor and Description |
|---|
DefaultGScheduler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onStart() |
void |
onStop() |
void |
scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit) |
private java.util.concurrent.ScheduledThreadPoolExecutor executor
boolean daemon
private java.util.concurrent.ThreadFactory daemonThreadGroup
public void scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit)
scheduleAtFixedRate in interface GSchedulerpublic void onStart()
onStart in interface GSchedulerpublic void onStop()
onStop in interface GScheduler