Serialized Form
-
Package net.sf.ehcache
-
Class net.sf.ehcache.CacheException extends java.lang.RuntimeException implements Serializable
- serialVersionUID:
- 142468800110101833L
-
Class net.sf.ehcache.Element extends java.lang.Object implements Serializable
- serialVersionUID:
- 1098572221246444544L
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundExceptionCustom serialization read logic- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeObject
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExceptionCustom serialization write logic- Throws:
java.io.IOException
-
-
Serialized Fields
-
cacheDefaultLifespan
boolean cacheDefaultLifespan
-
hitCount
long hitCount
The number of times the element was hit. -
id
long id
-
key
java.lang.Object key
the cache key. -
lastUpdateTime
long lastUpdateTime
If there is an Element in the Cache and it is replaced with a new Element for the same key, then both the version number and lastUpdateTime should be updated to reflect that. The creation time will be the creation time of the new Element, not the original one, so that TTL concepts still work. -
timeToIdle
int timeToIdle
The amount of time for the element to idle, in seconds. 0 indicates unlimited. -
timeToLive
int timeToLive
The amount of time for the element to live, in seconds. 0 indicates unlimited. -
value
java.lang.Object value
the value. -
version
long version
version of the element. System.currentTimeMillis() is used to compute version for updated elements. That way, the actual version of the updated element does not need to be checked.
-
-
Class net.sf.ehcache.ElementData extends java.lang.Object implements Serializable
-
Serialization Methods
-
readExternal
public void readExternal(java.io.ObjectInput arg0) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(java.io.ObjectOutput arg0) throws java.io.IOException- Throws:
java.io.IOException
-
-
-
Class net.sf.ehcache.EternalElementData extends ElementData implements Serializable
-
Serialization Methods
-
readExternal
public void readExternal(java.io.ObjectInput arg0) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(java.io.ObjectOutput arg0) throws java.io.IOException- Throws:
java.io.IOException
-
-
-
Class net.sf.ehcache.LoaderTimeoutException extends CacheException implements Serializable
-
Class net.sf.ehcache.MimeTypeByteArray extends java.lang.Object implements Serializable
-
Serialized Fields
-
mimeType
java.lang.String mimeType
-
value
byte[] value
-
-
-
Class net.sf.ehcache.NonEternalElementData extends ElementData implements Serializable
-
Serialization Methods
-
readExternal
public void readExternal(java.io.ObjectInput arg0) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(java.io.ObjectOutput arg0) throws java.io.IOException- Throws:
java.io.IOException
-
-
-
Class net.sf.ehcache.ObjectExistsException extends CacheException implements Serializable
-
Class net.sf.ehcache.Status extends java.lang.Object implements Serializable
- serialVersionUID:
- 2732730630423367732L
-
Serialized Fields
-
intValue
int intValue
-
name
java.lang.String name
-
-
-
Package net.sf.ehcache.cluster
-
Class net.sf.ehcache.cluster.ClusterSchemeNotAvailableException extends CacheException implements Serializable
-
Serialized Fields
-
unavailableClusterScheme
ClusterScheme unavailableClusterScheme
-
-
-
-
Package net.sf.ehcache.config
-
Class net.sf.ehcache.config.InvalidConfigurationException extends CacheException implements Serializable
-
-
Package net.sf.ehcache.constructs.blocking
-
Class net.sf.ehcache.constructs.blocking.LockTimeoutException extends CacheException implements Serializable
-
-
Package net.sf.ehcache.constructs.nonstop
-
Class net.sf.ehcache.constructs.nonstop.NonStopCacheException extends CacheException implements Serializable
-
Class net.sf.ehcache.constructs.nonstop.RejoinCacheException extends CacheException implements Serializable
-
-
Package net.sf.ehcache.constructs.nonstop.concurrency
-
Class net.sf.ehcache.constructs.nonstop.concurrency.InvalidLockStateAfterRejoinException extends NonStopCacheException implements Serializable
-
Class net.sf.ehcache.constructs.nonstop.concurrency.LockOperationTimedOutNonstopException extends NonStopCacheException implements Serializable
-
-
Package net.sf.ehcache.distribution
-
Class net.sf.ehcache.distribution.ConfigurableRMIClientSocketFactory extends java.lang.Object implements Serializable
- serialVersionUID:
- 4920508630517373246L
-
Serialized Fields
-
socketTimeoutMillis
int socketTimeoutMillis
-
-
Class net.sf.ehcache.distribution.EventMessage extends java.lang.Object implements Serializable
- serialVersionUID:
- -293616939110963630L
-
Serialized Fields
-
key
java.io.Serializable key
The key component.
-
-
Class net.sf.ehcache.distribution.LegacyEventMessage extends EventMessage implements Serializable
- serialVersionUID:
- -293616939110963630L
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeObject
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException- Throws:
java.io.IOException
-
-
Serialized Fields
-
event
int event
The event component. -
wasElementNotNull
boolean wasElementNotNull
Used to check if the value has been GCed
-
-
Class net.sf.ehcache.distribution.RemoteCacheException extends CacheException implements Serializable
-
Class net.sf.ehcache.distribution.RMICachePeer extends java.rmi.server.UnicastRemoteObject implements Serializable
-
Serialized Fields
-
cache
Ehcache cache
-
hostname
java.lang.String hostname
-
remoteObjectPort
java.lang.Integer remoteObjectPort
-
rmiRegistryPort
java.lang.Integer rmiRegistryPort
-
-
-
Class net.sf.ehcache.distribution.RmiEventMessage extends EventMessage implements Serializable
-
Serialized Fields
-
element
Element element
The element component. -
type
RmiEventMessage.RmiEventType type
The event component.
-
-
-
Class net.sf.ehcache.distribution.TransactionalRMICachePeer extends RMICachePeer implements Serializable
-
Serialized Fields
-
cache
Ehcache cache
-
-
-
-
Package net.sf.ehcache.hibernate.management.impl
-
Class net.sf.ehcache.hibernate.management.impl.AggregateCacheRegionStats extends CacheRegionStats implements Serializable
-
Serialized Fields
-
nodeCount
int nodeCount
-
-
-
Class net.sf.ehcache.hibernate.management.impl.CacheRegionStats extends java.lang.Object implements Serializable
-
Serialized Fields
-
elementCountInMemory
long elementCountInMemory
in-memory element count -
elementCountOnDisk
long elementCountOnDisk
on-disk element count -
elementCountTotal
long elementCountTotal
total element count -
hitCount
long hitCount
hit count -
hitRatio
double hitRatio
hit ratio -
missCount
long missCount
miss count -
putCount
long putCount
put count -
region
java.lang.String region
region name -
shortName
java.lang.String shortName
region short name
-
-
-
Class net.sf.ehcache.hibernate.management.impl.CollectionStats extends java.lang.Object implements Serializable
-
Serialized Fields
-
fetchCount
long fetchCount
fetchCount -
loadCount
long loadCount
loadCount -
recreateCount
long recreateCount
recreateCount -
removeCount
long removeCount
removeCount -
roleName
java.lang.String roleName
roleName -
shortName
java.lang.String shortName
shortName -
updateCount
long updateCount
updateCount
-
-
-
Class net.sf.ehcache.hibernate.management.impl.EntityStats extends java.lang.Object implements Serializable
-
Serialized Fields
-
deleteCount
long deleteCount
deleteCount -
fetchCount
long fetchCount
fetchCount -
insertCount
long insertCount
insertCount -
loadCount
long loadCount
loadCount -
name
java.lang.String name
name -
optimisticFailureCount
long optimisticFailureCount
optimisticFailureCount -
shortName
java.lang.String shortName
shortName -
updateCount
long updateCount
updateCount
-
-
-
Class net.sf.ehcache.hibernate.management.impl.QueryStats extends java.lang.Object implements Serializable
-
Serialized Fields
-
cacheHitCount
long cacheHitCount
cacheHitCount -
cacheMissCount
long cacheMissCount
cacheMissCount -
cachePutCount
long cachePutCount
cachePutCount -
executionAvgTime
long executionAvgTime
executionAvgTime -
executionCount
long executionCount
executionCount -
executionMaxTime
long executionMaxTime
executionMaxTime -
executionMinTime
long executionMinTime
executionMinTime -
executionRowCount
long executionRowCount
executionRowCount -
query
java.lang.String query
query
-
-
-
-
Package net.sf.ehcache.hibernate.strategy
-
Class net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy.Item extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
timestamp
long timestamp
-
value
java.lang.Object value
-
version
java.lang.Object version
-
-
Class net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy.Lock extends java.lang.Object implements Serializable
- serialVersionUID:
- 2L
-
Serialized Fields
-
concurrent
boolean concurrent
-
lockId
long lockId
-
multiplicity
int multiplicity
-
sourceUuid
java.util.UUID sourceUuid
-
timeout
long timeout
-
unlockTimestamp
long unlockTimestamp
-
version
java.lang.Object version
-
-
-
Package net.sf.ehcache.management
-
Class net.sf.ehcache.management.Cache extends java.lang.Object implements Serializable
- serialVersionUID:
- 3477287016924524437L
-
Serialized Fields
-
objectName
javax.management.ObjectName objectName
-
-
Class net.sf.ehcache.management.CacheConfiguration extends java.lang.Object implements Serializable
- serialVersionUID:
- -8944774509593267228L
-
Serialized Fields
-
objectName
javax.management.ObjectName objectName
-
-
Class net.sf.ehcache.management.CacheStatistics extends java.lang.Object implements Serializable
- serialVersionUID:
- 8085302752781762030L
-
Serialized Fields
-
objectName
javax.management.ObjectName objectName
-
statistics
StatisticsGateway statistics
-
-
Class net.sf.ehcache.management.Store extends java.lang.Object implements Serializable
- serialVersionUID:
- 3477287016924524437L
-
Serialized Fields
-
objectName
javax.management.ObjectName objectName
-
storeBean
javax.management.DynamicMBean storeBean
-
-
-
Package net.sf.ehcache.management.provider
-
Class net.sf.ehcache.management.provider.MBeanRegistrationProviderException extends java.lang.Exception implements Serializable
-
-
Package net.sf.ehcache.pool.sizeof
-
Class net.sf.ehcache.pool.sizeof.MaxDepthExceededException extends java.lang.RuntimeException implements Serializable
-
Serialized Fields
-
measuredSize
long measuredSize
-
-
-
-
Package net.sf.ehcache.search
-
Class net.sf.ehcache.search.SearchException extends CacheException implements Serializable
- serialVersionUID:
- 6942653724476318512L
-
-
Package net.sf.ehcache.search.aggregator
-
Class net.sf.ehcache.search.aggregator.AggregatorException extends SearchException implements Serializable
- serialVersionUID:
- 6942653724476318512L
-
-
Package net.sf.ehcache.search.attribute
-
Class net.sf.ehcache.search.attribute.AttributeExtractorException extends SearchException implements Serializable
- serialVersionUID:
- 5066522240394222152L
-
Class net.sf.ehcache.search.attribute.JavaBeanAttributeExtractor extends java.lang.Object implements Serializable
-
Serialized Fields
-
beanProperty
java.lang.String beanProperty
-
-
-
Class net.sf.ehcache.search.attribute.KeyObjectAttributeExtractor extends java.lang.Object implements Serializable
-
Class net.sf.ehcache.search.attribute.ReflectionAttributeExtractor extends java.lang.Object implements Serializable
-
Serialized Fields
-
-
Class net.sf.ehcache.search.attribute.UnknownAttributeException extends SearchException implements Serializable
-
Class net.sf.ehcache.search.attribute.ValueObjectAttributeExtractor extends java.lang.Object implements Serializable
-
-
Package net.sf.ehcache.store
-
Class net.sf.ehcache.store.LruMemoryStore.SpoolingLinkedHashMap extends java.util.LinkedHashMap implements Serializable
-
Class net.sf.ehcache.store.MemoryStoreEvictionPolicy extends java.lang.Object implements Serializable
-
Serialized Fields
-
myName
java.lang.String myName
-
-
-
-
Package net.sf.ehcache.store.chm
-
Class net.sf.ehcache.store.chm.SelectableConcurrentHashMap.Segment extends java.util.concurrent.locks.ReentrantReadWriteLock implements Serializable
-
Serialized Fields
-
count
int count
The number of elements in this segment's region. -
evictionIterator
java.util.Iterator<SelectableConcurrentHashMap.HashEntry> evictionIterator
-
loadFactor
float loadFactor
The load factor for the hash table. Even though this value is same for all segments, it is replicated to avoid needing links to outer object. -
modCount
int modCount
Number of updates that alter the size of the table. This is used during bulk-read methods to make sure they see a consistent snapshot: If modCounts change during a traversal of segments computing size or checking containsValue, then we might have an inconsistent view of state so (usually) must retry. -
table
SelectableConcurrentHashMap.HashEntry[] table
The per-segment table. -
threshold
int threshold
The table is rehashed when its size exceeds this threshold. (The value of this field is always (int)(capacity * loadFactor).)
-
-
-
-
Package net.sf.ehcache.store.compound
-
Class net.sf.ehcache.store.compound.ImmutableValueElementCopyStrategy extends java.lang.Object implements Serializable
- serialVersionUID:
- 6938731518478806173L
-
Serialized Fields
-
copyStrategy
ReadWriteSerializationCopyStrategy copyStrategy
-
-
Class net.sf.ehcache.store.compound.LegacyCopyStrategyAdapter extends java.lang.Object implements Serializable
- serialVersionUID:
- -6986893869400882078L
-
Serialized Fields
-
legacyCopyStrategy
CopyStrategy legacyCopyStrategy
-
-
Class net.sf.ehcache.store.compound.NullReadWriteCopyStrategy extends java.lang.Object implements Serializable
- serialVersionUID:
- -3210079128116741621L
-
Class net.sf.ehcache.store.compound.ReadWriteSerializationCopyStrategy extends java.lang.Object implements Serializable
- serialVersionUID:
- 2659269742281205622L
-
Class net.sf.ehcache.store.compound.SerializationCopyStrategy extends java.lang.Object implements Serializable
- serialVersionUID:
- -7932063007392582487L
-
Serialized Fields
-
copyStrategy
ReadWriteSerializationCopyStrategy copyStrategy
-
-
-
Package net.sf.ehcache.store.disk
-
Class net.sf.ehcache.store.disk.DiskStorageFactory.DiskMarker extends DiskStorageFactory.DiskSubstitute implements Serializable
-
Serialized Fields
-
expiry
long expiry
-
hitCount
long hitCount
-
key
java.lang.Object key
-
position
long position
-
size
int size
-
-
-
Class net.sf.ehcache.store.disk.Segment extends java.util.concurrent.locks.ReentrantReadWriteLock implements Serializable
-
Serialized Fields
-
cacheEventNotificationService
RegisteredEventListeners cacheEventNotificationService
-
cachePinned
boolean cachePinned
-
count
int count
Count of elements in the map.A volatile reference is needed here for the same reasons as in the table reference.
-
disk
DiskStorageFactory disk
The primary substitute factory.This is the substitute type used to store
Elements when they are first added to the store. -
evictionObserver
org.terracotta.statistics.observer.OperationObserver<CacheOperationOutcomes.EvictionOutcome> evictionObserver
-
modCount
int modCount
Mod-count used to track concurrent modifications when doing size calculations or iterating over the store.Note that we don't actually have any iterators yet...
-
onDiskPoolAccessor
PoolAccessor onDiskPoolAccessor
-
onHeapPoolAccessor
PoolAccessor onHeapPoolAccessor
-
table
net.sf.ehcache.store.disk.HashEntry[] table
Table of HashEntry linked lists, indexed by the least-significant bits of the spread-hash value.A volatile reference is needed to ensure the visibility of table changes made during rehash operations to size operations. Key operations are done under read-locks so there is no need for volatility in that regard. Hence if we switched to read-locked size operations, we wouldn't need a volatile reference here.
-
threshold
int threshold
Size at which the next rehashing of this Segment should occur
-
-
-
Class net.sf.ehcache.store.disk.StoreUpdateException extends CacheWriterManagerException implements Serializable
-
Serialized Fields
-
update
boolean update
-
-
-
-
Package net.sf.ehcache.terracotta
-
Class net.sf.ehcache.terracotta.TerracottaNotRunningException extends CacheException implements Serializable
-
-
Package net.sf.ehcache.transaction
-
Class net.sf.ehcache.transaction.DeadLockException extends TransactionException implements Serializable
-
Class net.sf.ehcache.transaction.ExpiredTransactionIDImpl extends TransactionIDImpl implements Serializable
-
Class net.sf.ehcache.transaction.SoftLockID extends java.lang.Object implements Serializable
-
Serialized Fields
-
key
java.lang.Object key
-
newElement
Element newElement
-
oldElement
Element oldElement
-
transactionID
TransactionID transactionID
-
-
-
Class net.sf.ehcache.transaction.TransactionException extends CacheException implements Serializable
-
Class net.sf.ehcache.transaction.TransactionIDImpl extends java.lang.Object implements Serializable
-
Serialized Fields
-
id
int id
-
-
-
Class net.sf.ehcache.transaction.TransactionIDNotFoundException extends TransactionException implements Serializable
-
Class net.sf.ehcache.transaction.TransactionIDSerializedForm extends java.lang.Object implements Serializable
-
Serialization Methods
-
readResolve
private java.lang.Object readResolve()
-
-
Serialized Fields
-
cacheManagerName
java.lang.String cacheManagerName
-
clusterUUID
java.lang.String clusterUUID
-
creationTime
long creationTime
-
id
int id
-
ownerID
java.lang.String ownerID
-
-
-
Class net.sf.ehcache.transaction.TransactionInterruptedException extends TransactionException implements Serializable
-
Class net.sf.ehcache.transaction.TransactionTimeoutException extends TransactionException implements Serializable
-
Class net.sf.ehcache.transaction.XidTransactionIDSerializedForm extends java.lang.Object implements Serializable
-
Serialization Methods
-
readResolve
private java.lang.Object readResolve()
-
-
Serialized Fields
-
cacheManagerName
java.lang.String cacheManagerName
-
cacheName
java.lang.String cacheName
-
ownerID
java.lang.String ownerID
-
xid
javax.transaction.xa.Xid xid
-
-
-
-
Package net.sf.ehcache.transaction.xa
-
Class net.sf.ehcache.transaction.xa.EhcacheXAException extends javax.transaction.xa.XAException implements Serializable
-
Class net.sf.ehcache.transaction.xa.ExpiredXidTransactionIDImpl extends XidTransactionIDImpl implements Serializable
-
Class net.sf.ehcache.transaction.xa.OptimisticLockFailureException extends TransactionException implements Serializable
-
Class net.sf.ehcache.transaction.xa.SerializableXid extends java.lang.Object implements Serializable
-
Serialized Fields
-
branchQualifier
byte[] branchQualifier
-
formatId
int formatId
-
globalTransactionId
byte[] globalTransactionId
-
-
-
Class net.sf.ehcache.transaction.xa.XidTransactionIDImpl extends java.lang.Object implements Serializable
-
Serialized Fields
-
cacheName
java.lang.String cacheName
-
xid
SerializableXid xid
-
-
-
-
Package net.sf.ehcache.util.concurrent
-
Class net.sf.ehcache.util.concurrent.ConcurrentHashMap.KeySetView extends net.sf.ehcache.util.concurrent.ConcurrentHashMap.CHMView<K,V> implements Serializable
- serialVersionUID:
- 7249069246763182397L
-
Serialized Fields
-
value
V value
-
-
Class net.sf.ehcache.util.concurrent.LongAdder extends net.sf.ehcache.util.concurrent.Striped64 implements Serializable
- serialVersionUID:
- 7249069246863182397L
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeObject
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException- Throws:
java.io.IOException
-
-
Class net.sf.ehcache.util.concurrent.ThreadLocalRandom extends java.util.Random implements Serializable
- serialVersionUID:
- -5851777807851030925L
-
Serialized Fields
-
initialized
boolean initialized
Initialization flag to permit calls to setSeed to succeed only while executing the Random constructor. We can't allow others since it would cause setting seed in one part of a program to unintentionally impact other usages by the thread. -
pad0
long pad0
-
pad1
long pad1
-
pad2
long pad2
-
pad3
long pad3
-
pad4
long pad4
-
pad5
long pad5
-
pad6
long pad6
-
pad7
long pad7
-
rnd
long rnd
The random seed. We can't use super.seed.
-
-
-
Package net.sf.ehcache.util.counter
-
Class net.sf.ehcache.util.counter.CounterImpl extends java.lang.Object implements Serializable
-
Serialized Fields
-
value
java.util.concurrent.atomic.AtomicLong value
-
-
-
-
Package net.sf.ehcache.util.counter.sampled
-
Class net.sf.ehcache.util.counter.sampled.SampledCounterImpl extends CounterImpl implements Serializable
-
Serialized Fields
-
history
CircularLossyQueue<TimeStampedCounterValue> history
The history of this counter -
intervalMillis
long intervalMillis
-
resetOnSample
boolean resetOnSample
Should the counter reset on each sample? -
samplerTask
java.util.TimerTask samplerTask
-
-
-
Class net.sf.ehcache.util.counter.sampled.SampledRateCounterImpl extends SampledCounterImpl implements Serializable
-
Serialized Fields
-
denominatorValue
long denominatorValue
-
numeratorValue
long numeratorValue
-
-
-
Class net.sf.ehcache.util.counter.sampled.TimeStampedCounterValue extends java.lang.Object implements Serializable
-
Serialized Fields
-
counterValue
long counterValue
-
timestamp
long timestamp
-
-
-
-
Package net.sf.ehcache.writer
-
Class net.sf.ehcache.writer.CacheWriterManagerException extends CacheException implements Serializable
-