|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Package com.opensymphony.oscache.base |
|---|
| Class com.opensymphony.oscache.base.AbstractCacheAdministrator extends java.lang.Object implements Serializable |
|---|
| Serialized Fields |
|---|
Config config
javax.swing.event.EventListenerList listenerList
AbstractCacheAdministrator.CACHE_ENTRY_EVENT_LISTENERS_KEY configuration key.
java.lang.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 java.lang.Object implements Serializable |
|---|
| Serialized Fields |
|---|
javax.swing.event.EventListenerList listenerList
AbstractConcurrentReadCache cacheMap
java.util.Date flushDateTime
java.util.Map 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 java.lang.Object implements Serializable |
|---|
| Serialized Fields |
|---|
EntryRefreshPolicy policy
java.lang.Object content
PersistenceListeners
to serialize the cache entries to disk or database.
java.util.Set groups
java.lang.String key
boolean wasFlushed
true if this entry was flushed
long created
long lastUpdate
| Class com.opensymphony.oscache.base.Config extends java.lang.Object implements Serializable |
|---|
| Serialized Fields |
|---|
java.util.Properties properties
| Class com.opensymphony.oscache.base.FinalizationException extends java.lang.Exception implements Serializable |
|---|
| Class com.opensymphony.oscache.base.InitializationException extends java.lang.Exception implements Serializable |
|---|
| Class com.opensymphony.oscache.base.NeedsRefreshException extends java.lang.Exception implements Serializable |
|---|
| Serialized Fields |
|---|
java.lang.Object cacheContent
| Package com.opensymphony.oscache.base.algorithm |
|---|
| Class com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache extends java.util.AbstractMap implements Serializable |
|---|
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
java.io.IOException| Serialized Fields |
|---|
java.lang.Boolean barrierLock
PersistenceListener persistenceListener
boolean memoryCaching
boolean unlimitedDiskCache
float loadFactor
int DEFAULT_MAX_ENTRIES
int UNLIMITED
java.util.HashMap 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 |
|---|
java.util.Collection list
boolean isSet
| Class com.opensymphony.oscache.base.algorithm.LRUCache extends AbstractConcurrentReadCache implements Serializable |
|---|
| Serialized Fields |
|---|
java.util.Collection list
java.util.Map 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 java.lang.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 java.lang.Object implements Serializable |
|---|
| Serialized Fields |
|---|
java.io.Serializable data
int type
| Package com.opensymphony.oscache.plugins.diskpersistence |
|---|
| Class com.opensymphony.oscache.plugins.diskpersistence.AbstractDiskPersistenceListener extends java.lang.Object implements Serializable |
|---|
| Serialized Fields |
|---|
java.io.File cachePath
java.io.File contextTmpDir
java.lang.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 |
|---|
java.security.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 |
|---|
java.util.Map flushTimes
java.lang.String cacheKey
boolean useHostDomainInKey
| Package com.opensymphony.oscache.web.filter |
|---|
| Class com.opensymphony.oscache.web.filter.ExpiresRefreshPolicy extends java.lang.Object implements Serializable |
|---|
| Serialized Fields |
|---|
long refreshPeriod
| Class com.opensymphony.oscache.web.filter.ResponseContent extends java.lang.Object implements Serializable |
|---|
| Serialized Fields |
|---|
java.util.Locale locale
java.lang.String contentEncoding
java.lang.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
java.util.List groups
ServletCacheAdministrator admin
java.lang.String actualKey
java.lang.String content
java.lang.String cron
java.lang.String key
java.lang.String language
java.lang.String refreshPolicyClass
java.lang.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
java.lang.String group
java.lang.String key
java.lang.String pattern
java.lang.String scope
int cacheScope
java.lang.String language
| Class com.opensymphony.oscache.web.tag.GroupTag extends javax.servlet.jsp.tagext.TagSupport implements Serializable |
|---|
| Serialized Fields |
|---|
java.lang.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 | |||||||||