| Modifier and Type | Field and Description |
|---|---|
private static org.apache.log4j.Logger |
logger |
private long |
sleepDelay
The sleep sleepDelay for this thread in Milliseconds.
|
| Constructor and Description |
|---|
CleanerTask()
This is the standard constructor.
|
CleanerTask(long sleepDelay)
Create a new CleanerTask with a specified sleepDelay.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
clean()
Cleans the application from garbage.
|
void |
cleanSystem()
Cleans the application from garbage.
|
long |
getSleepDelay() |
void |
run()
Executes the cleaner task.
|
void |
setSleepDelay(long sleepDelay) |
private static final org.apache.log4j.Logger logger
private long sleepDelay
public CleanerTask()
public CleanerTask(long sleepDelay)
sleepDelay - - in Millisecondspublic void run()
private void clean()
public void cleanSystem()
public long getSleepDelay()
public void setSleepDelay(long sleepDelay)
sleepDelay - the sleepDelay to setCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.