com.ebay.erl.mobius.util
Class JVMShutdownNotifier
java.lang.Object
java.util.Observable
com.ebay.erl.mobius.util.JVMShutdownNotifier
- All Implemented Interfaces:
- java.lang.Runnable
public class JVMShutdownNotifier
- extends java.util.Observable
- implements java.lang.Runnable
Observing JVM shutdown signal and notify
objects that register to this when a shutdown
signal happened.
This product is licensed under the Apache License, Version 2.0,
available at http://www.apache.org/licenses/LICENSE-2.0.
This product contains portions derived from Apache hadoop which is
licensed under the Apache License, Version 2.0, available at
http://hadoop.apache.org.
© 2007 – 2012 eBay Inc., Evan Chiu, Woody Zhou, Neel Sundaresan
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static JVMShutdownNotifier getInstance()
run
public void run()
- Specified by:
run
in interface java.lang.Runnable