Class DefaultShutdownCallbackRegistry.RegisteredCancellable
java.lang.Object
org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.RegisteredCancellable
- All Implemented Interfaces:
Runnable
,Cancellable
- Enclosing class:
DefaultShutdownCallbackRegistry
private static class DefaultShutdownCallbackRegistry.RegisteredCancellable
extends Object
implements Cancellable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRegisteredCancellable
(Runnable callback, Collection<Reference<Cancellable>> registered) -
Method Summary
-
Field Details
-
callback
-
registered
-
-
Constructor Details
-
RegisteredCancellable
RegisteredCancellable(Runnable callback, Collection<Reference<Cancellable>> registered)
-
-
Method Details
-
cancel
public void cancel()Description copied from interface:Cancellable
Cancels the execution of this Runnable callback. This method has no effect if this has already executed.- Specified by:
cancel
in interfaceCancellable
-
run
public void run() -
toString
-