com.twitter.common.application.http
Class DefaultQuitHandler

java.lang.Object
  extended by com.twitter.common.application.http.DefaultQuitHandler
All Implemented Interfaces:
Runnable

public class DefaultQuitHandler
extends Object
implements Runnable

The default quit handler to use, which invokes Lifecycle.shutdown().


Constructor Summary
DefaultQuitHandler(Lifecycle lifecycle)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultQuitHandler

@Inject
public DefaultQuitHandler(Lifecycle lifecycle)
Method Detail

run

public void run()
Specified by:
run in interface Runnable