public abstract class LibraryObjectCache extends BoundedCache
m_Configuration
Constructor and Description |
---|
LibraryObjectCache(BoundedCacheConfiguration config)
Constructs a LibraryObjectCache.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
markEntriesAsUntrusted()
Mark all PublicObject entries as untrusted.
|
abstract void |
markEntryAsUntrusted(Object itemKey)
Mark an entry as untrusted due to security changes for the specified
object.
|
abstract void |
markFreeCancelled(Long id)
Respond to a FREE event that has been rolled back for the specified object.
|
abstract void |
markFreeInitiated(Long id)
Respond to an uncommitted free operation.
|
lock, performNormalPurgeIfNeeded, performUrgentPurgeIfNeeded
dispose, find, getCacheConfiguration, getCachePerformance, getElements, put, remove, reset, resetCachePerformance, setCacheConfiguration
public LibraryObjectCache(BoundedCacheConfiguration config)
config
- the configuration paramaters for the new cachepublic abstract void markEntryAsUntrusted(Object itemKey) throws IfsException
itemKey
- the ID of the entryIfsException
- if the operation failspublic abstract void markEntriesAsUntrusted() throws IfsException
Called whenever a session leaves admin mode, when a user is impersonated, or when an impersonation is cancelled.
IfsException
- if the operation failspublic abstract 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.
id
- the item idIfsException
- if the operation failspublic abstract void markFreeCancelled(Long id) throws IfsException
id
- the item idIfsException
- if the operation failsCopyright © 2023. All rights reserved.