Package nl.talsmasoftware.context.clearable

The Clearable interface and a ClearableContextManager in particular.

Clearable

This interface declares the Clearable.clear() method. Clearing something is semantically different from closing.

In the case of ClearableContextManager, closing any context only applies to that single context, while Clearable.clear() is equivalent to closing the active context and all parents in the current thread.