newCache(Class type, int maxSize, int maxIdleTime, int sweepInterval) Factory method returns a new instance of IEntityCache
for type.
Parameters: type - Class Parameters: maxSize - int - the maximum size of the cache. Parameters: maxIdleTime - int - the idle time in milliseconds after which a cache entry may be purged. Parameters: sweepInterval - int - the period of time in milliseconds between cache sweeps.
public void
remove(Class type, String key) Removes the cached entity identified by type and key from the cache
and notifies peer caches.
Returns the cached entity identified by type and key.
Parameters: type - Class Parameters: key - String IBasicEntity entity exception: org.jasig.portal.concurrency.CachingException -
Factory method returns a new instance of IEntityCache
for type.
Parameters: type - Class Parameters: maxSize - int - the maximum size of the cache. Parameters: maxIdleTime - int - the idle time in milliseconds after which a cache entry may be purged. Parameters: sweepInterval - int - the period of time in milliseconds between cache sweeps. IEntityCache exception: org.jasig.portal.concurrency.CachingException -
Removes the cached entity identified by type and key from the cache
and notifies peer caches.
Parameters: type - Class Parameters: key - String exception: org.jasig.portal.concurrency.CachingException -