ehcache

Uses of Class
net.sf.ehcache.Element

Packages that use Element
net.sf.ehcache This package contains the public API for using ehcache. 
net.sf.ehcache.distribution This package is for cache replication. 
net.sf.ehcache.event This package contains interfaces and classes for listening to events. 
net.sf.ehcache.store Store package. 
 

Uses of Element in net.sf.ehcache
 

Methods in net.sf.ehcache that return Element
 Element Cache.get(java.lang.Object key)
          Gets an element from the cache.
 Element Cache.get(java.io.Serializable key)
          Gets an element from the cache.
 Element Cache.getQuiet(java.lang.Object key)
          Gets an element from the cache, without updating Element statistics.
 Element Cache.getQuiet(java.io.Serializable key)
          Gets an element from the cache, without updating Element statistics.
 

Methods in net.sf.ehcache with parameters of type Element
 boolean Cache.isExpired(Element element)
          Checks whether this cache element has expired.
 void Cache.put(Element element)
          Put an element in the cache.
 void Cache.put(Element element, boolean doNotNotifyCacheReplicators)
          Put an element in the cache.
 void Cache.putQuiet(Element element)
          Put an element in the cache, without updating statistics, or updating listeners.
 

Uses of Element in net.sf.ehcache.distribution
 

Methods in net.sf.ehcache.distribution that return Element
 Element EventMessage.getElement()
           
 

Methods in net.sf.ehcache.distribution with parameters of type Element
 void RMISynchronousCacheReplicator.notifyElementExpired(Cache cache, Element element)
          Called immediately after an element is found to be expired.
 void RMISynchronousCacheReplicator.notifyElementPut(Cache cache, Element element)
          Called immediately after an element has been put into the cache.
 void RMIAsynchronousCacheReplicator.notifyElementPut(Cache cache, Element element)
          Called immediately after an element has been put into the cache.
 void RMISynchronousCacheReplicator.notifyElementRemoved(Cache cache, Element element)
          Called immediately after an element has been removed.
 void RMIAsynchronousCacheReplicator.notifyElementRemoved(Cache cache, Element element)
          Called immediately after an element has been removed.
 void RMISynchronousCacheReplicator.notifyElementUpdated(Cache cache, Element element)
          Called immediately after an element has been put into the cache and the element already existed in the cache.
 void RMIAsynchronousCacheReplicator.notifyElementUpdated(Cache cache, Element element)
          Called immediately after an element has been put into the cache and the element already existed in the cache.
 void RMICachePeer.put(Element element)
          Puts an Element into the underlying cache without notifying listeners or updating statistics.
 void CachePeer.put(Element element)
          Put an element in the cache.
 

Constructors in net.sf.ehcache.distribution with parameters of type Element
EventMessage(int event, java.io.Serializable key, Element element)
          Full constructor.
 

Uses of Element in net.sf.ehcache.event
 

Methods in net.sf.ehcache.event with parameters of type Element
 void CacheEventListener.notifyElementExpired(Cache cache, Element element)
          Called immediately after an element is found to be expired.
 void RegisteredEventListeners.notifyElementExpiry(Element element, boolean remoteEvent)
          Notifies all registered listeners, in no guaranteed order, that an element has expired
 void CacheEventListener.notifyElementPut(Cache cache, Element element)
          Called immediately after an element has been put into the cache.
 void RegisteredEventListeners.notifyElementPut(Element element, boolean remoteEvent)
          Notifies all registered listeners, in no guaranteed order, that an element was put into the cache
 void CacheEventListener.notifyElementRemoved(Cache cache, Element element)
          Called immediately after an element has been removed.
 void RegisteredEventListeners.notifyElementRemoved(Element element, boolean remoteEvent)
          Notifies all registered listeners, in no guaranteed order, that an element was removed
 void CacheEventListener.notifyElementUpdated(Cache cache, Element element)
          Called immediately after an element has been put into the cache and the element already existed in the cache.
 void RegisteredEventListeners.notifyElementUpdated(Element element, boolean remoteEvent)
          Notifies all registered listeners, in no guaranteed order, that an element in the cache was updated
 

Uses of Element in net.sf.ehcache.store
 

Methods in net.sf.ehcache.store that return Element
(package private)  Element LfuMemoryStore.findRelativelyUnused(Element elementJustAdded)
          Find a "relatively" unused element, but not the element just added.
 Element MemoryStore.get(java.lang.Object key)
          Gets an item from the cache.
 Element Store.get(java.lang.Object key)
          Gets an item from the cache.
 Element DiskStore.get(java.lang.Object key)
          Gets an Element from the Disk Store.
(package private)  Element FifoMemoryStore.getFirstElement()
          Returns the first eligible element that can be taken out of the cache based on the FIFO policy
 Element MemoryStore.getQuiet(java.lang.Object key)
          Gets an item from the cache, without updating Element statistics.
 Element DiskStore.getQuiet(java.lang.Object key)
          Gets an Element from the Disk Store, without updating statistics
 Element MemoryStore.remove(java.lang.Object key)
          Removes an Element from the store.
 Element Store.remove(java.lang.Object key)
          Removes an item from the cache.
 Element DiskStore.remove(java.lang.Object key)
          Removes an item from the disk store.
(package private)  Element[] LfuMemoryStore.sampleElements(int sampleSize)
          Uses random numbers to sample the entire map.
 

Methods in net.sf.ehcache.store with parameters of type Element
protected  void MemoryStore.doPut(Element element)
          Allow specialised actions over adding the element to the map.
 void LfuMemoryStore.doPut(Element elementJustAdded)
          Puts an element into the cache.
protected  void FifoMemoryStore.doPut(Element element)
          Allow specialised actions over adding the element to the map
protected  void MemoryStore.evict(Element element)
          Evict the Element.
(package private)  Element LfuMemoryStore.findRelativelyUnused(Element elementJustAdded)
          Find a "relatively" unused element, but not the element just added.
protected  void MemoryStore.notifyExpiry(Element element)
          Before eviction elements are checked.
 void MemoryStore.put(Element element)
          Puts an item in the cache.
 void Store.put(Element element)
          Puts an item into the cache.
 void DiskStore.put(Element element)
          Puts an element into the disk store.
protected  void MemoryStore.spoolToDisk(Element element)
          Puts the element in the DiskStore.
 


ehcache