Serialized Form


Package net.sf.ehcache

Class net.sf.ehcache.Cache extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

diskStore

DiskStore diskStore

status

int status

maxElementsInMemory

int maxElementsInMemory

overflowToDisk

boolean overflowToDisk
Do cache elements in this cache overflowToDisk


eternal

boolean eternal
can turn off expiration


timeToLiveSeconds

long timeToLiveSeconds
Max life seconds


timeToIdleSeconds

long timeToIdleSeconds
Description of the Field


hitCount

int hitCount
Cache hit count


memoryStoreHitCount

int memoryStoreHitCount
Memory cache hit count


diskStoreHitCount

int diskStoreHitCount
Auxiliary hit counts broken down by auxiliary


missCountNotFound

int missCountNotFound
Count of misses where element was not found


missCountExpired

int missCountExpired
Count of misses where element was expired


memoryStore

MemoryStore memoryStore
The MemoryStore of this Cache. All caches have a memory store.

Class net.sf.ehcache.CacheException extends java.lang.Exception implements Serializable

Class net.sf.ehcache.CacheManager extends java.lang.Object implements Serializable

Serialized Fields

configuration

Configuration configuration
The configuration.


configurationFileName

java.lang.String configurationFileName

configurationURL

java.net.URL configurationURL

caches

java.util.Hashtable caches
Caches managed by this manager


defaultCache

Cache defaultCache
Default cache cache


diskStorePath

java.lang.String diskStorePath
The path for the directory in which disk caches are created


status

int status

Class net.sf.ehcache.Element extends java.lang.Object implements Serializable

Serialized Fields

key

java.io.Serializable key
the cache key


value

java.io.Serializable value
the value


version

long version
version of the element


creationTime

long creationTime
The creation time


lastAccessTime

long lastAccessTime
The last access time


hitCount

long hitCount
The number of times the element was hit.

Class net.sf.ehcache.ObjectExistsException extends CacheException implements Serializable


Package net.sf.ehcache.store

Class net.sf.ehcache.store.MemoryStore extends java.lang.Object implements Serializable

Serialized Fields

map

java.util.Map map
Map where items are stored by key


cache

Cache cache
The cache this store is associated with


diskStore

DiskStore diskStore
The DiskStore associated with this MemoryStore


status

int status
status

Class net.sf.ehcache.store.MemoryStore.SpoolingLinkedHashMap extends java.util.LinkedHashMap implements Serializable

Class net.sf.ehcache.store.MemoryStore.SpoolingLRUMap extends org.apache.commons.collections.LRUMap implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput)
                   throws java.io.IOException