Serialized Form
serialVersionUID: 142468800110101833L
serialVersionUID: 1098572221246444544L
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Custom serialization read logic
- Throws:
IOException
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Custom serialization write logic
- Throws:
IOException
key
Object key
- the cache key.
value
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.
hitCount
long hitCount
- The number of times the element was hit.
timeToLive
int timeToLive
- The amount of time for the element to live, in seconds. 0 indicates unlimited.
timeToIdle
int timeToIdle
- The amount of time for the element to idle, in seconds. 0 indicates unlimited.
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.
cacheDefaultLifespan
boolean cacheDefaultLifespan
id
long id
mimeType
String mimeType
value
byte[] value
serialVersionUID: 3606940454221918725L
cacheName
String cacheName
statisticsAccuracy
int statisticsAccuracy
cacheHits
long cacheHits
onDiskHits
long onDiskHits
offHeapHits
long offHeapHits
inMemoryHits
long inMemoryHits
misses
long misses
onDiskMisses
long onDiskMisses
offHeapMisses
long offHeapMisses
inMemoryMisses
long inMemoryMisses
size
long size
memoryStoreSize
long memoryStoreSize
offHeapStoreSize
long offHeapStoreSize
diskStoreSize
long diskStoreSize
averageGetTime
float averageGetTime
evictionCount
long evictionCount
searchesPerSecond
long searchesPerSecond
averageSearchTime
long averageSearchTime
writerQueueLength
long writerQueueLength
serialVersionUID: 2732730630423367732L
name
String name
intValue
int intValue
Package net.sf.ehcache.cluster |
unavailableClusterScheme
ClusterScheme unavailableClusterScheme
Package net.sf.ehcache.config |
Package net.sf.ehcache.constructs.blocking |
Package net.sf.ehcache.constructs.nonstop |
submitAttemptCount
int submitAttemptCount
Package net.sf.ehcache.constructs.nonstop.concurrency |
Package net.sf.ehcache.distribution |
serialVersionUID: 4920508630517373246L
socketTimeoutMillis
int socketTimeoutMillis
serialVersionUID: -293616939110963630L
key
Serializable key
- The key component.
serialVersionUID: -293616939110963630L
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Throws:
IOException
event
int event
- The event component.
wasElementNotNull
boolean wasElementNotNull
- Used to check if the value has been GCed
hostname
String hostname
rmiRegistryPort
Integer rmiRegistryPort
remoteObjectPort
Integer remoteObjectPort
cache
Ehcache cache
Class net.sf.ehcache.distribution.RMICachePeer_Stub extends RemoteStub implements Serializable |
serialVersionUID: 2L
type
RmiEventMessage.RmiEventType type
- The event component.
element
Element element
- The element component.
cache
Ehcache cache
Package net.sf.ehcache.hibernate.management.impl |
nodeCount
int nodeCount
region
String region
- region name
shortName
String shortName
- region short name
hitCount
long hitCount
- hit count
missCount
long missCount
- miss count
putCount
long putCount
- put count
hitRatio
double hitRatio
- hit ratio
elementCountInMemory
long elementCountInMemory
- in-memory element count
elementCountOnDisk
long elementCountOnDisk
- on-disk element count
elementCountTotal
long elementCountTotal
- total element count
roleName
String roleName
- roleName
shortName
String shortName
- shortName
loadCount
long loadCount
- loadCount
fetchCount
long fetchCount
- fetchCount
updateCount
long updateCount
- updateCount
removeCount
long removeCount
- removeCount
recreateCount
long recreateCount
- recreateCount
name
String name
- name
shortName
String shortName
- shortName
loadCount
long loadCount
- loadCount
updateCount
long updateCount
- updateCount
insertCount
long insertCount
- insertCount
deleteCount
long deleteCount
- deleteCount
fetchCount
long fetchCount
- fetchCount
optimisticFailureCount
long optimisticFailureCount
- optimisticFailureCount
query
String query
- query
cacheHitCount
long cacheHitCount
- cacheHitCount
cacheMissCount
long cacheMissCount
- cacheMissCount
cachePutCount
long cachePutCount
- cachePutCount
executionCount
long executionCount
- executionCount
executionRowCount
long executionRowCount
- executionRowCount
executionAvgTime
long executionAvgTime
- executionAvgTime
executionMaxTime
long executionMaxTime
- executionMaxTime
executionMinTime
long executionMinTime
- executionMinTime
Package net.sf.ehcache.hibernate.strategy |
serialVersionUID: 1L
value
Object value
version
Object version
timestamp
long timestamp
serialVersionUID: 2L
sourceUuid
UUID sourceUuid
lockId
long lockId
version
Object version
timeout
long timeout
concurrent
boolean concurrent
multiplicity
int multiplicity
unlockTimestamp
long unlockTimestamp
Package net.sf.ehcache.management |
serialVersionUID: 3477287016924524437L
objectName
ObjectName objectName
serialVersionUID: -8944774509593267228L
objectName
ObjectName objectName
serialVersionUID: 8085302752781762030L
objectName
ObjectName objectName
ttlInMillis
long ttlInMillis
statistics
Statistics statistics
lastUpdated
long lastUpdated
serialVersionUID: 3477287016924524437L
objectName
ObjectName objectName
storeBean
DynamicMBean storeBean
Package net.sf.ehcache.management.provider |
Package net.sf.ehcache.pool.sizeof |
measuredSize
long measuredSize
Package net.sf.ehcache.search |
serialVersionUID: 6942653724476318512L
Package net.sf.ehcache.search.aggregator |
serialVersionUID: 6942653724476318512L
Package net.sf.ehcache.search.attribute |
serialVersionUID: 5066522240394222152L
isMethodName
String isMethodName
getMethodName
String getMethodName
beanProperty
String beanProperty
expression
String expression
parts
net.sf.ehcache.search.attribute.ReflectionAttributeExtractor.Part[] parts
start
net.sf.ehcache.search.attribute.ReflectionAttributeExtractor.StartType start
Package net.sf.ehcache.store |
pinnedKeys
Set<E> pinnedKeys
myName
String myName
Package net.sf.ehcache.store.chm |
count
int count
- The number of elements in this segment's region.
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.
threshold
int threshold
- The table is rehashed when its size exceeds this threshold.
(The value of this field is always (int)(capacity *
loadFactor).)
table
SelectableConcurrentHashMap.HashEntry[] table
- The per-segment table.
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.
-
evictionIterator
Iterator<E> evictionIterator
fullyPinned
boolean fullyPinned
pinnedCount
int pinnedCount
numDummyPinnedKeys
int numDummyPinnedKeys
Package net.sf.ehcache.store.compound |
copyStrategy
ReadWriteSerializationCopyStrategy copyStrategy
legacyCopyStrategy
CopyStrategy legacyCopyStrategy
copyStrategy
ReadWriteSerializationCopyStrategy copyStrategy
Package net.sf.ehcache.store.disk |
key
Object key
position
long position
size
int size
hitCount
long hitCount
expiry
long expiry
count
int count
- Count of elements in the map.
A volatile reference is needed here for the same reasons as in the table reference.
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...
disk
DiskStorageFactory disk
- The primary substitute factory.
This is the substitute type used to store Element
s when they are first added to the store.
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
diskHitRate
RateStatistic diskHitRate
diskMissRate
RateStatistic diskMissRate
onHeapPoolAccessor
PoolAccessor<T> onHeapPoolAccessor
onDiskPoolAccessor
PoolAccessor<T> onDiskPoolAccessor
cacheEventNotificationService
RegisteredEventListeners cacheEventNotificationService
cachePinned
boolean cachePinned
update
boolean update
Package net.sf.ehcache.terracotta |
Package net.sf.ehcache.transaction |
transactionID
TransactionID transactionID
key
Object key
newElement
Element newElement
oldElement
Element oldElement
wasPinned
boolean wasPinned
copyStrategy
ReadWriteCopyStrategy<T> copyStrategy
delegate
AttributeExtractor delegate
id
int id
readResolve
private Object readResolve()
cacheManagerName
String cacheManagerName
clusterUUID
String clusterUUID
ownerID
String ownerID
creationTime
long creationTime
id
int id
readResolve
private Object readResolve()
cacheManagerName
String cacheManagerName
cacheName
String cacheName
ownerID
String ownerID
xid
Xid xid
Package net.sf.ehcache.transaction.xa |
formatId
int formatId
globalTransactionId
byte[] globalTransactionId
branchQualifier
byte[] branchQualifier
xid
SerializableXid xid
cacheName
String cacheName
Package net.sf.ehcache.util.counter |
value
AtomicLong value
Package net.sf.ehcache.util.counter.sampled |
history
CircularLossyQueue<T> history
- The history of this counter
resetOnSample
boolean resetOnSample
- Should the counter reset on each sample?
samplerTask
TimerTask samplerTask
intervalMillis
long intervalMillis
numeratorValue
long numeratorValue
denominatorValue
long denominatorValue
counterValue
long counterValue
timestamp
long timestamp
Package net.sf.ehcache.writer |
Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.