|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.concurrency.caching.RDBMCachedEntityInvalidationStore
RDBMS-based store for CachedEntityInvalidations
.
CachedEntityInvalidation
,
IEntityCache
Constructor Summary | |
RDBMCachedEntityInvalidationStore()
RDBMCachedEntityInvalidationStore constructor. |
Method Summary | |
void |
add(CachedEntityInvalidation cachedEnt)
Adds/updates the row corresponding to this invalidation in the underlying store. |
void |
add(IBasicEntity entity,
int cacheID)
Adds/updates the row corresponding to this entity in the underlying store. |
void |
deleteAll()
Delete all invalidations from the underlying store. |
void |
deleteBefore(java.util.Date expiration)
Delete invalid entities the underlying store whose invalidation time is before invalidation . |
CachedEntityInvalidation[] |
find(java.lang.Class entityType,
java.lang.String entityKey)
Retrieve CachedEntityInvalidations from the underlying entity invalidation store. |
CachedEntityInvalidation[] |
findAfter(java.util.Date invalidation,
java.lang.Class entityType,
java.lang.String entityKey,
java.lang.Integer cacheID)
Retrieve CachedEntityInvalidations from the underlying store. |
static RDBMCachedEntityInvalidationStore |
singleton()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RDBMCachedEntityInvalidationStore() throws CachingException
Method Detail |
public void add(CachedEntityInvalidation cachedEnt) throws CachingException
cachedEnt
- org.jasig.portal.concurrency.caching.CachedEntityInvalidation
CachingException
public void add(IBasicEntity entity, int cacheID) throws CachingException
entity
- org.jasig.portal.IBasicEntity entity
CachingException
public void deleteAll() throws CachingException
CachingException
public void deleteBefore(java.util.Date expiration) throws CachingException
invalidation
.
expiration
- java.util.Date
CachingException
public CachedEntityInvalidation[] find(java.lang.Class entityType, java.lang.String entityKey) throws CachingException
entityType
- ClassentityKey
- String
CachingException
- - wraps an Exception specific to the store.public CachedEntityInvalidation[] findAfter(java.util.Date invalidation, java.lang.Class entityType, java.lang.String entityKey, java.lang.Integer cacheID) throws CachingException
invalidation
- DateentityType
- ClassentityKey
- StringcacheID
- Integer - the cache ID we do NOT want to retrieve.
CachingException
- - wraps an Exception specific to the store.public static RDBMCachedEntityInvalidationStore singleton() throws CachingException
CachingException
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |