|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Package com.opensymphony.oscache.base |
---|
Class com.opensymphony.oscache.base.AbstractCacheAdministrator extends Object implements Serializable |
---|
Serialized Fields |
---|
Config config
EventListenerList listenerList
AbstractCacheAdministrator.CACHE_ENTRY_EVENT_LISTENERS_KEY
configuration key.
String algorithmClass
AbstractCacheAdministrator.CACHE_ALGORITHM_KEY
configuration property.
int cacheCapacity
AbstractCacheAdministrator.CACHE_CAPACITY_KEY
configuration property.
boolean blocking
AbstractCacheAdministrator.CACHE_BLOCKING_KEY
configuration property.
boolean memoryCaching
AbstractCacheAdministrator.CACHE_MEMORY_KEY
property.
boolean overflowPersistence
AbstractCacheAdministrator.CACHE_PERSISTENCE_OVERFLOW_KEY
configuration property.
boolean unlimitedDiskCache
AbstractCacheAdministrator.CACHE_DISK_UNLIMITED_KEY
configuration property.
Class com.opensymphony.oscache.base.Cache extends Object implements Serializable |
---|
Serialized Fields |
---|
EventListenerList listenerList
AbstractConcurrentReadCache cacheMap
Date flushDateTime
Map<K,V> updateStates
To avoid data races, values in this map should remain present during the whole time distinct threads deal with the same key. We implement this using explicit reference counting in the EntryUpdateState instance, to be able to clean up the map once all threads have declared they are done accessing/updating a given key. It is not possible to locate this into the CacheEntry because this would require to have a CacheEntry instance for all cache misses, and may therefore generate a memory leak. More over, the CacheEntry instance may not be hold in memory in the case no memory cache is configured.
boolean blocking
Class com.opensymphony.oscache.base.CacheEntry extends Object implements Serializable |
---|
Serialized Fields |
---|
EntryRefreshPolicy policy
Object content
PersistenceListener
s
to serialize the cache entries to disk or database.
Set<E> groups
String key
boolean wasFlushed
true
if this entry was flushed
long created
long lastUpdate
Class com.opensymphony.oscache.base.Config extends Object implements Serializable |
---|
Serialized Fields |
---|
Properties properties
Class com.opensymphony.oscache.base.FinalizationException extends Exception implements Serializable |
---|
Class com.opensymphony.oscache.base.InitializationException extends Exception implements Serializable |
---|
Class com.opensymphony.oscache.base.NeedsRefreshException extends Exception implements Serializable |
---|
Serialized Fields |
---|
Object cacheContent
Package com.opensymphony.oscache.base.algorithm |
---|
Class com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache extends AbstractMap implements Serializable |
---|
Serialization Methods |
---|
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialized Fields |
---|
Boolean barrierLock
PersistenceListener persistenceListener
boolean memoryCaching
boolean unlimitedDiskCache
float loadFactor
int DEFAULT_MAX_ENTRIES
int UNLIMITED
HashMap<K,V> groups
Set
of containing keys of all
the cache entries that belong to that particular group.
int maxEntries
int threshold
boolean overflowPersistence
Class com.opensymphony.oscache.base.algorithm.FIFOCache extends AbstractConcurrentReadCache implements Serializable |
---|
Serialized Fields |
---|
Collection<E> list
boolean isSet
Class com.opensymphony.oscache.base.algorithm.LRUCache extends AbstractConcurrentReadCache implements Serializable |
---|
Serialized Fields |
---|
Collection<E> list
Map<K,V> map
boolean isList
boolean isMap
boolean isSet
boolean removeInProgress
Class com.opensymphony.oscache.base.algorithm.UnlimitedCache extends AbstractConcurrentReadCache implements Serializable |
---|
Package com.opensymphony.oscache.base.persistence |
---|
Class com.opensymphony.oscache.base.persistence.CachePersistenceException extends Exception implements Serializable |
---|
Package com.opensymphony.oscache.general |
---|
Class com.opensymphony.oscache.general.GeneralCacheAdministrator extends AbstractCacheAdministrator implements Serializable |
---|
Serialized Fields |
---|
Cache applicationCache
Package com.opensymphony.oscache.plugins.clustersupport |
---|
Class com.opensymphony.oscache.plugins.clustersupport.ClusterNotification extends Object implements Serializable |
---|
Serialized Fields |
---|
Serializable data
int type
Package com.opensymphony.oscache.plugins.diskpersistence |
---|
Class com.opensymphony.oscache.plugins.diskpersistence.AbstractDiskPersistenceListener extends Object implements Serializable |
---|
Serialized Fields |
---|
File cachePath
File contextTmpDir
String root
Class com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener extends AbstractDiskPersistenceListener implements Serializable |
---|
Class com.opensymphony.oscache.plugins.diskpersistence.HashDiskPersistenceListener extends AbstractDiskPersistenceListener implements Serializable |
---|
Serialized Fields |
---|
MessageDigest md
Package com.opensymphony.oscache.web |
---|
Class com.opensymphony.oscache.web.ServletCache extends Cache implements Serializable |
---|
Serialized Fields |
---|
ServletCacheAdministrator admin
int scope
Class com.opensymphony.oscache.web.ServletCacheAdministrator extends AbstractCacheAdministrator implements Serializable |
---|
Serialized Fields |
---|
Map<K,V> flushTimes
String cacheKey
boolean useHostDomainInKey
Package com.opensymphony.oscache.web.filter |
---|
Class com.opensymphony.oscache.web.filter.ExpiresRefreshPolicy extends Object implements Serializable |
---|
Serialized Fields |
---|
long refreshPeriod
Class com.opensymphony.oscache.web.filter.ResponseContent extends Object implements Serializable |
---|
Serialized Fields |
---|
Locale locale
String contentEncoding
String contentType
byte[] content
long expires
long lastModified
Package com.opensymphony.oscache.web.tag |
---|
Class com.opensymphony.oscache.web.tag.CacheTag extends javax.servlet.jsp.tagext.BodyTagSupport implements Serializable |
---|
Serialized Fields |
---|
boolean cancelUpdateRequired
Cache cache
List<E> groups
ServletCacheAdministrator admin
String actualKey
String content
String cron
String key
String language
String refreshPolicyClass
String refreshPolicyParam
boolean refresh
boolean useBody
int mode
int scope
int time
Class com.opensymphony.oscache.web.tag.FlushTag extends javax.servlet.jsp.tagext.TagSupport implements Serializable |
---|
Serialized Fields |
---|
ServletCacheAdministrator admin
String group
String key
String pattern
String scope
int cacheScope
String language
Class com.opensymphony.oscache.web.tag.GroupTag extends javax.servlet.jsp.tagext.TagSupport implements Serializable |
---|
Serialized Fields |
---|
Object group
Class com.opensymphony.oscache.web.tag.UseCachedTag extends javax.servlet.jsp.tagext.TagSupport implements Serializable |
---|
Serialized Fields |
---|
boolean use
|
OSCache Project Page | |||||||||
PREV NEXT | FRAMES NO FRAMES |