Package com.tangosol.util
Interface ResourceRegistry.ResourceLifecycleObserver<R>
-
- Enclosing interface:
- ResourceRegistry
public static interface ResourceRegistry.ResourceLifecycleObserver<R>
TheResourceRegistry.ResourceLifecycleObserver
interface defines lifecycle handlers for resources registered with aResourceRegistry
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onRelease(R resource)
Called by aResourceRegistry
when a resource is being released.
-
-
-
Method Detail
-
onRelease
void onRelease(R resource)
Called by aResourceRegistry
when a resource is being released. Resources are released when aResourceRegistry
is disposed.- Parameters:
resource
- the resource being released
-
-