public interface Discardable
threaded service model
,
which creates a service for a short period, then discards it when notified
by the ThreadEventNotifier
.
The service instance will be discarded regardless; this interface allows the core service implementation to know immediately when this happens, so that it can release any acquired resources.
Modifier and Type | Method and Description |
---|---|
void |
threadDidDiscardService()
Invoked when a service is being discarded.
|
void threadDidDiscardService()