Class ShutdownController.Wrapper
java.lang.Object
ch.raffael.meldioc.library.base.lifecycle.ShutdownController.Wrapper
- All Implemented Interfaces:
ShutdownController
- Enclosing interface:
- ShutdownController
public static class ShutdownController.Wrapper extends java.lang.Object implements ShutdownController
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.raffael.meldioc.library.base.lifecycle.ShutdownController
ShutdownController.Actuator, ShutdownController.IllegalShutdownStateException, ShutdownController.State, ShutdownController.Wrapper -
Constructor Summary
Constructors Constructor Description Wrapper(ShutdownController delegate) -
Method Summary
Modifier and Type Method Description voidonFinalize(io.vavr.CheckedRunnable callback)voidonPerform(io.vavr.CheckedRunnable callback)voidonPrepare(io.vavr.CheckedRunnable callback)ShutdownController.Statestate()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Wrapper
-
-
Method Details
-
onPrepare
public void onPrepare(io.vavr.CheckedRunnable callback)- Specified by:
onPreparein interfaceShutdownController
-
onPerform
public void onPerform(io.vavr.CheckedRunnable callback)- Specified by:
onPerformin interfaceShutdownController
-
onFinalize
public void onFinalize(io.vavr.CheckedRunnable callback)- Specified by:
onFinalizein interfaceShutdownController
-
state
- Specified by:
statein interfaceShutdownController
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-