Interface Cleaner.Cleanable
- Enclosing class:
Cleaner
public static interfaceCleaner.Cleanable
Cleanable represents an object and acleaning action registered in aCleaner.- Since:
- 9
Method Summary
Modifier and TypeMethodDescriptionvoidclean()Unregisters the cleanable and invokes the cleaning action.
Method Details
clean
void clean()Unregisters the cleanable and invokes the cleaning action.The cleanable's cleaning action is invoked at most onceregardless of the number of calls toclean.