Package io.deephaven.util.process
Class DefaultProcessEnvironment
java.lang.Object
io.deephaven.util.process.BaseProcessEnvironment
io.deephaven.util.process.DefaultProcessEnvironment
- All Implemented Interfaces:
ProcessEnvironment
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.util.process.ProcessEnvironment
ProcessEnvironment.GlobalHelper
-
Field Summary
Fields inherited from class io.deephaven.util.process.BaseProcessEnvironment
fatalErrorReporter, log, mainClassName, shutdownManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Hook for shutting down an installation-specific environment for a given process.void
Hook for setting up an installation-specific environment for a given process.Methods inherited from class io.deephaven.util.process.BaseProcessEnvironment
getFatalErrorReporter, getMainClassName, getShutdownManager
-
Method Details
-
onStartup
public void onStartup()Description copied from interface:ProcessEnvironment
Hook for setting up an installation-specific environment for a given process. -
onShutdown
public void onShutdown()Description copied from interface:ProcessEnvironment
Hook for shutting down an installation-specific environment for a given process. This is intended for controlled invocation, rather than as part of a shutdown hook -onStartup()
should setup any mandatory shutdown hooks, and code in said shutdown hooks should be idempotent w.r.t. onShutdown().
-