public abstract class BoundedCache extends Cache
m_Configuration
Constructor and Description |
---|
BoundedCache(BoundedCacheConfiguration configuration)
Constructs an bounded cache.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
lock(Object id,
Object value)
Locks an item in this cache.
|
abstract void |
performNormalPurgeIfNeeded()
Purge Cache if a request for "normal" purge is indicated
|
abstract void |
performUrgentPurgeIfNeeded()
Purge Cache if a request for "urgent" purge is indicated
|
dispose, find, getCacheConfiguration, getCachePerformance, getElements, put, remove, reset, resetCachePerformance, setCacheConfiguration
public BoundedCache(BoundedCacheConfiguration configuration)
configuration
- the configuration paramaters for the new cachepublic abstract void lock(Object id, Object value) throws IfsException
id
- the item idvalue
- the itemIfsException
- if the operation failspublic abstract void performNormalPurgeIfNeeded()
public abstract void performUrgentPurgeIfNeeded()
Copyright © 2023. All rights reserved.