|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Timer
com.netflix.util.concurrent.ShutdownEnabledTimer
public class ShutdownEnabledTimer
ShutdownEnabledTimer class handles runtime shutdown issues. Apparently, adding a runtime shutdown hook will create a global reference which can cause memory leaks if not cleaned up. This abstraction provides a wrapped mechanism to manage those runtime shutdown hooks.
| Constructor Summary | |
|---|---|
ShutdownEnabledTimer(java.lang.String name,
boolean daemon)
|
|
| Method Summary | |
|---|---|
void |
cancel()
|
| Methods inherited from class java.util.Timer |
|---|
purge, schedule, schedule, schedule, schedule, scheduleAtFixedRate, scheduleAtFixedRate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShutdownEnabledTimer(java.lang.String name,
boolean daemon)
| Method Detail |
|---|
public void cancel()
cancel in class java.util.Timer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||