Package com.helger.base.cleanup
Interface ICleanUpRegistry
- All Known Implementing Classes:
CleanUpRegistry
public interface ICleanUpRegistry
Callback interface for registering new type converters.
- Author:
- Philip Helger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterCleanup(int nPriority, @NonNull Runnable aRunnable) Register a cleanup action.
-
Field Details
-
PRIORITY_MIN
static final int PRIORITY_MIN- See Also:
-
PRIORITY_DEFAULT
static final int PRIORITY_DEFAULT- See Also:
-
PRIORITY_MAX
static final int PRIORITY_MAX- See Also:
-
-
Method Details
-
registerCleanup
Register a cleanup action.- Parameters:
nPriority- Priority - the higher the earlier it is calledaRunnable- The runnable to be executed. May not benull.
-