Package org.eclipse.jetty.server
Class ShutdownMonitor.ShutdownMonitorRunnable
java.lang.Object
org.eclipse.jetty.server.ShutdownMonitor.ShutdownMonitorRunnable
- All Implemented Interfaces:
Runnable
- Enclosing class:
ShutdownMonitor
Thread for listening to STOP.PORT for command to stop Jetty.
If ShutdownMonitor.exitVm is true, then System.exit will also be
called after the stop.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
informClient
(OutputStream out, String message) void
run()
private void
stopLifeCycles
(Predicate<LifeCycle> predicate, boolean destroy)
-
Field Details
-
serverSocket
-
-
Constructor Details
-
ShutdownMonitorRunnable
-
-
Method Details
-
run
public void run() -
informClient
- Throws:
IOException
-
stopLifeCycles
-