public class BuiltinUpdater
extends java.lang.Object
| Constructor and Description |
|---|
BuiltinUpdater() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addTask(java.util.TimerTask task)
Adds a new task.
|
static void |
addTask(java.util.TimerTask task,
long delay)
Adds a new task.
|
static void |
cleanup()
Stops the timer allowing users in container to cleanup on shutdown/restart.
|
public static void addTask(java.util.TimerTask task)
task - TimerTask to addpublic static void addTask(java.util.TimerTask task,
long delay)
delay - delay in milliseconds before task is to be executed.task - TimerTask to addpublic static void cleanup()
Copyright © 2010-2020 anotheria.net. All Rights Reserved.