public final class LooselyBoundedSLibraryObjectCache extends LibraryObjectCache
m_Configuration| Constructor and Description | 
|---|
LooselyBoundedSLibraryObjectCache(BoundedCacheConfiguration config,
                                 S_LibrarySession session)
Construct a LooselyBoundedSLibraryObjectCache. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
dispose()
Disposes this cache. 
 | 
Object | 
find(Object id)
Gets an item from this cache. 
 | 
CachePerformance | 
getCachePerformance()
Gets the performance information for this cache. 
 | 
Enumeration | 
getElements()
Gets an Enumeration of the LibraryObjects in this cache. 
 | 
void | 
lock(Object id,
    Object value)
Locks an item in this cache. 
 | 
void | 
markEntriesAsUntrusted()
Mark all PublicObject entries as untrusted. 
 | 
void | 
markEntryAsUntrusted(Object id)
Mark an entry as untrusted due to security changes for the specified
 object. 
 | 
void | 
markFreeCancelled(Long id)
Respond to a FREE event that has been rolled back for the specified object. 
 | 
void | 
markFreeInitiated(Long id)
Respond to an uncommitted free operation. 
 | 
void | 
performNormalPurgeIfNeeded()
Purge Cache if a request for "normal" purge is indicated. 
 | 
void | 
performUrgentPurgeIfNeeded()
Purge Cache if a request for "urgent" purge is indicated 
 | 
void | 
put(Object id,
   Object value)
Puts an item in this cache. 
 | 
void | 
remove(Object id)
Removes an item from this cache. 
 | 
void | 
resetCachePerformance()
Resets the performance information for this cache. 
 | 
void | 
setCacheConfiguration(CacheConfiguration config)
Alters the configuration of this cache. 
 | 
getCacheConfiguration, resetpublic LooselyBoundedSLibraryObjectCache(BoundedCacheConfiguration config, S_LibrarySession session) throws IfsException
config - the configuration paramaters for the new cachesession - the session contextIfsException - if the operation failspublic void setCacheConfiguration(CacheConfiguration config) throws IfsException
setCacheConfiguration in class Cacheconfig - the cache configuration;
                      must be a BoundedCacheConfigurationIfsException - if the operation failspublic CachePerformance getCachePerformance()
getCachePerformance in class Cachepublic void resetCachePerformance()
resetCachePerformance in class Cachepublic Object find(Object id) throws IfsException
find in class Cacheid - the item idIfsException - if operation failspublic void remove(Object id) throws IfsException
remove in class Cacheid - the item idIfsException - if operation failspublic void put(Object id, Object value) throws IfsException
put in class Cacheid - the item idvalue - the itemIfsException - if operation failspublic Enumeration getElements() throws IfsException
getElements in class CacheIfsException - if operation failspublic void lock(Object id, Object value) throws IfsException
lock in class BoundedCacheid - the item idvalue - the itemIfsException - if the operation failspublic void performNormalPurgeIfNeeded()
performNormalPurgeIfNeeded in class BoundedCachepublic void performUrgentPurgeIfNeeded()
performUrgentPurgeIfNeeded in class BoundedCachepublic void markEntryAsUntrusted(Object id) throws IfsException
markEntryAsUntrusted in class LibraryObjectCacheid - the ID of the entryIfsException - if the operation failspublic void markEntriesAsUntrusted()
                            throws IfsException
Called whenever a session leaves admin mode, when a user is impersonated, or when an impersonation is cancelled.
markEntriesAsUntrusted in class LibraryObjectCacheIfsException - if the operation failspublic void markFreeInitiated(Long id) throws IfsException
 This occurs during a transaction. If the transaction is committed, 
 a subsequent remove will be issued for the object. 
 If instead the transaction is aborted, 
 a subsequent markFreeCancelled will be issued for the object.
markFreeInitiated in class LibraryObjectCacheid - the item idIfsException - if the operation failspublic void markFreeCancelled(Long id) throws IfsException
markFreeCancelled in class LibraryObjectCacheid - the item idIfsException - if the operation failsCopyright © 2025. All rights reserved.