Package com.tangosol.util
Interface ResourceRegistry.ResourceLifecycleObserver<R>
- Enclosing interface:
ResourceRegistry
public static interface ResourceRegistry.ResourceLifecycleObserver<R>
The
ResourceRegistry.ResourceLifecycleObserver
interface defines lifecycle handlers
for resources registered with a ResourceRegistry
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called by aResourceRegistry
when a resource is being released.
-
Method Details
-
onRelease
Called by aResourceRegistry
when a resource is being released. Resources are released when aResourceRegistry
is disposed.- Parameters:
resource
- the resource being released
-