public interface LooselyBoundedCacheable
Modifier and Type | Method and Description |
---|---|
void |
added(Object id)
Called when an instance is added to the cache.
|
boolean |
canPurge()
Gets whether the item can be purged from the
the BoundedCache.
|
void |
removed(Object id)
Called when an instance is removed to the cache.
|
boolean canPurge() throws IfsException
The caller of this method indicates a desire to purge the object. The implementation should treat this as a purge request, but can return false if the item should not be purged.
IfsException
- if operation fails.void added(Object id)
id
- the id used for this entry in the cacheIfsException
- if operation fails.void removed(Object id)
id
- the id used for this entry in the cacheIfsException
- if operation fails.Copyright © 2023. All rights reserved.