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.config This package contains the cache configuration code. 
net.sf.ehcache.constructs The constructs package builds on top of the core ehcache classes to create implementations for common caching patterns. 
net.sf.ehcache.constructs.blocking Doug Lea in his book Concurrent Programming in Java talks about concurrency support constructs. 
net.sf.ehcache.constructs.nonstop.store Ehcache-nonstopcache behaviors package 
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.search.attribute This package contains classes for ehcache search attributes 
net.sf.ehcache.search.expression This package contains classes for search expression types (ie. 
net.sf.ehcache.statistics This package contains classes related to LiveCacheStatistics and its implementation. 
net.sf.ehcache.store Store package. 
net.sf.ehcache.store.chm CHM package. 
net.sf.ehcache.store.compound This package contains the main classes and interfaces for the new fully coherent combination disk and memory store for unclustered Ehcache. 
net.sf.ehcache.store.compound.factories This package contains the concrete element substitute factory implementations. 
net.sf.ehcache.transaction This package contains classes for controlling cache operations for transactional use. 
net.sf.ehcache.transaction.local This package contains the local transactions subsystem. 
net.sf.ehcache.transaction.xa This package contains the functionality to provide XA support to a transactional Cache. 
net.sf.ehcache.transaction.xa.commands This package contains a representation of the queued commands which can be executed against a XA store. 
net.sf.ehcache.writer This package contains the cache writer functionalities. 
net.sf.ehcache.writer.writebehind This package contains the write behind functionalities. 
net.sf.ehcache.writer.writebehind.operations This package contains the operations for the write behind functionalities. 
net.sf.ehcache.writer.writethrough This package contains the write through functionalities. 
 

Uses of Element in net.sf.ehcache
 

Methods in net.sf.ehcache that return Element
 Element Cache.get(Object key)
          Gets an element from the cache.
 Element Ehcache.get(Object key)
          Gets an element from the cache.
 Element Cache.get(Serializable key)
          Gets an element from the cache.
 Element Ehcache.get(Serializable key)
          Gets an element from the cache.
 Element CacheEntry.getElement()
          Retrieves the element of this cache entry.
 Element Cache.getQuiet(Object key)
          Gets an element from the cache, without updating Element statistics.
 Element Ehcache.getQuiet(Object key)
          Gets an element from the cache, without updating Element statistics.
 Element Cache.getQuiet(Serializable key)
          Gets an element from the cache, without updating Element statistics.
 Element Ehcache.getQuiet(Serializable key)
          Gets an element from the cache, without updating Element statistics.
 Element Cache.getWithLoader(Object key, CacheLoader loader, Object loaderArgument)
          This method will return, from the cache, the Element associated with the argument "key".
 Element Ehcache.getWithLoader(Object key, CacheLoader loader, Object loaderArgument)
          This method will return, from the cache, the object associated with the argument "key".
 Element Cache.putIfAbsent(Element element)
          Put an element in the cache if no element is currently mapped to the elements key.
 Element Ehcache.putIfAbsent(Element element)
          Put an element in the cache if no element is currently mapped to the elements key.
 Element Cache.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element Ehcache.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 

Methods in net.sf.ehcache with parameters of type Element
 boolean Cache.isExpired(Element element)
          Checks whether this cache element has expired.
 boolean Ehcache.isExpired(Element element)
          Checks whether this cache element has expired.
 void Cache.put(Element element)
          Put an element in the cache.
 void Ehcache.put(Element element)
          Put an element in the cache.
 void Cache.put(Element element, boolean doNotNotifyCacheReplicators)
          Put an element in the cache.
 void Ehcache.put(Element element, boolean doNotNotifyCacheReplicators)
          Put an element in the cache.
 Element Cache.putIfAbsent(Element element)
          Put an element in the cache if no element is currently mapped to the elements key.
 Element Ehcache.putIfAbsent(Element element)
          Put an element in the cache if no element is currently mapped to the elements key.
 void Cache.putQuiet(Element element)
          Put an element in the cache, without updating statistics, or updating listeners.
 void Ehcache.putQuiet(Element element)
          Put an element in the cache, without updating statistics, or updating listeners.
 void Cache.putWithWriter(Element element)
          Put an element in the cache writing through a CacheWriter.
 void Ehcache.putWithWriter(Element element)
          Put an element in the cache writing through a CacheWriter.
 boolean Cache.removeElement(Element element)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 boolean Ehcache.removeElement(Element element)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element Cache.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element Ehcache.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 boolean Cache.replace(Element old, Element element)
          Replace the cached element only if the current Element is equal to the supplied old Element.
 boolean Ehcache.replace(Element old, Element element)
          Replace the cached element only if the current Element is equal to the supplied old Element.
 void ElementEvictionData.resetLastAccessTime(Element element)
          Resets the last access time.
 void DefaultElementEvictionData.resetLastAccessTime(Element element)
          Resets the last access time.
 void ElementEvictionData.updateLastAccessTime(long time, Element element)
          Updates the last access time.
 void DefaultElementEvictionData.updateLastAccessTime(long time, Element element)
          Updates the last access time.
 

Constructors in net.sf.ehcache with parameters of type Element
CacheEntry(Object key, Element element)
          Creates a new cache entry.
 

Uses of Element in net.sf.ehcache.config
 

Methods in net.sf.ehcache.config that return types with arguments of type Element
 ReadWriteCopyStrategy<Element> CacheConfiguration.getCopyStrategy()
          Getter to the CopyStrategy set in the config (really? how?).
 ReadWriteCopyStrategy<Element> CopyStrategyConfiguration.getCopyStrategyInstance()
          Get (and potentially) instantiate the instance
 

Method parameters in net.sf.ehcache.config with type arguments of type Element
 void CopyStrategyConfiguration.setCopyStrategyInstance(ReadWriteCopyStrategy<Element> copyStrategy)
          Sets the CopyStrategy instance to use
 

Uses of Element in net.sf.ehcache.constructs
 

Methods in net.sf.ehcache.constructs that return Element
 Element EhcacheDecoratorAdapter.get(Object key)
          Gets an element from the cache.
 Element EhcacheDecoratorAdapter.get(Serializable key)
          Gets an element from the cache.
 Element EhcacheDecoratorAdapter.getQuiet(Object key)
          Gets an element from the cache, without updating Element statistics.
 Element EhcacheDecoratorAdapter.getQuiet(Serializable key)
          Gets an element from the cache, without updating Element statistics.
 Element EhcacheDecoratorAdapter.getWithLoader(Object key, CacheLoader loader, Object loaderArgument)
          This method will return, from the cache, the object associated with the argument "key".
 Element EhcacheDecoratorAdapter.putIfAbsent(Element element)
          Put an element in the cache if no element is currently mapped to the elements key.
 Element EhcacheDecoratorAdapter.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 

Methods in net.sf.ehcache.constructs with parameters of type Element
 boolean EhcacheDecoratorAdapter.isExpired(Element element)
          Checks whether this cache element has expired.
 void EhcacheDecoratorAdapter.put(Element element)
          Put an element in the cache.
 void EhcacheDecoratorAdapter.put(Element element, boolean doNotNotifyCacheReplicators)
          Put an element in the cache.
 Element EhcacheDecoratorAdapter.putIfAbsent(Element element)
          Put an element in the cache if no element is currently mapped to the elements key.
 void EhcacheDecoratorAdapter.putQuiet(Element element)
          Put an element in the cache, without updating statistics, or updating listeners.
 void EhcacheDecoratorAdapter.putWithWriter(Element element)
          Put an element in the cache writing through a CacheWriter.
 boolean EhcacheDecoratorAdapter.removeElement(Element element)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element EhcacheDecoratorAdapter.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 boolean EhcacheDecoratorAdapter.replace(Element old, Element element)
          Replace the cached element only if the current Element is equal to the supplied old Element.
 

Uses of Element in net.sf.ehcache.constructs.blocking
 

Methods in net.sf.ehcache.constructs.blocking that return Element
 Element BlockingCache.get(Object key)
          Looks up an entry.
 Element UpdatingSelfPopulatingCache.get(Object key)
          Looks up an object.
 Element SelfPopulatingCache.get(Object key)
          Looks up an entry.
 Element BlockingCache.get(Serializable key)
          Gets an element from the cache.
 Element BlockingCache.getWithLoader(Object key, CacheLoader loader, Object loaderArgument)
          This method is not appropriate to use with BlockingCache.
protected static Element SelfPopulatingCache.makeAndCheckElement(Object key, Object value)
          Both CacheEntryFactory can return an Element rather than just a regular value this method test this, making a fresh Element otherwise.
 Element SelfPopulatingCache.refresh(Object key)
          Refresh a single element.
 Element SelfPopulatingCache.refresh(Object key, boolean quiet)
          Refresh a single element.
protected  Element SelfPopulatingCache.refreshElement(Element element, Ehcache backingCache, boolean quiet)
          Refresh a single element.
 

Methods in net.sf.ehcache.constructs.blocking with parameters of type Element
 void BlockingCache.put(Element element)
          Adds an entry and unlocks it
protected  void SelfPopulatingCache.refreshElement(Element element, Ehcache backingCache)
          Refresh a single element.
protected  Element SelfPopulatingCache.refreshElement(Element element, Ehcache backingCache, boolean quiet)
          Refresh a single element.
 

Uses of Element in net.sf.ehcache.constructs.nonstop.store
 

Methods in net.sf.ehcache.constructs.nonstop.store that return Element
 Element TransactionalExecutorServiceStore.get(Object key)
          Gets an item from the cache.
 Element ExecutorServiceStore.get(Object key)
          Gets an item from the cache.
 Element ExceptionOnTimeoutStore.get(Object key)
          Gets an item from the cache.
 Element LocalReadsOnTimeoutStore.get(Object key)
          Gets an item from the cache.
 Element NoOpOnTimeoutStore.get(Object key)
          Gets an item from the cache.
 Element NonstopStoreImpl.get(Object key)
          Gets an item from the cache.
 Element TransactionalExecutorServiceStore.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element ExecutorServiceStore.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element ExceptionOnTimeoutStore.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element LocalReadsOnTimeoutStore.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element NoOpOnTimeoutStore.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element NonstopStoreImpl.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element TransactionalExecutorServiceStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element ExecutorServiceStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element ExceptionOnTimeoutStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element LocalReadsOnTimeoutStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element NoOpOnTimeoutStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element NonstopStoreImpl.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element TransactionalExecutorServiceStore.remove(Object key)
          Removes an item from the cache.
 Element ExecutorServiceStore.remove(Object key)
          Removes an item from the cache.
 Element ExceptionOnTimeoutStore.remove(Object key)
          Removes an item from the cache.
 Element LocalReadsOnTimeoutStore.remove(Object key)
          Removes an item from the cache.
 Element NoOpOnTimeoutStore.remove(Object key)
          Removes an item from the cache.
 Element NonstopStoreImpl.remove(Object key)
          Removes an item from the cache.
 Element TransactionalExecutorServiceStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element ExecutorServiceStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element ExceptionOnTimeoutStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element LocalReadsOnTimeoutStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element NoOpOnTimeoutStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element NonstopStoreImpl.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element TransactionalExecutorServiceStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element ExecutorServiceStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element ExceptionOnTimeoutStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element LocalReadsOnTimeoutStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element NoOpOnTimeoutStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element NonstopStoreImpl.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element TransactionalExecutorServiceStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element ExecutorServiceStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element ExceptionOnTimeoutStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element LocalReadsOnTimeoutStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element NoOpOnTimeoutStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element NonstopStoreImpl.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element ExecutorServiceStore.unlockedGet(Object key)
          Gets the value associated with the key without acquiring any locks.
 Element ExceptionOnTimeoutStore.unlockedGet(Object key)
          Gets the value associated with the key without acquiring any locks.
 Element LocalReadsOnTimeoutStore.unlockedGet(Object key)
          Gets the value associated with the key without acquiring any locks.
 Element NoOpOnTimeoutStore.unlockedGet(Object key)
          Gets the value associated with the key without acquiring any locks.
 Element NonstopStoreImpl.unlockedGet(Object key)
          Gets the value associated with the key without acquiring any locks.
 Element ExecutorServiceStore.unlockedGetQuiet(Object key)
          Same as TerracottaStore.unlockedGet(Object) but does not update statistics
 Element ExceptionOnTimeoutStore.unlockedGetQuiet(Object key)
          Same as TerracottaStore.unlockedGet(Object) but does not update statistics
 Element LocalReadsOnTimeoutStore.unlockedGetQuiet(Object key)
          Same as TerracottaStore.unlockedGet(Object) but does not update statistics
 Element NoOpOnTimeoutStore.unlockedGetQuiet(Object key)
          Same as TerracottaStore.unlockedGet(Object) but does not update statistics
 Element NonstopStoreImpl.unlockedGetQuiet(Object key)
          Same as TerracottaStore.unlockedGet(Object) but does not update statistics
 Element ExecutorServiceStore.unsafeGet(Object key)
          Returns the local value associated with the key.
 Element ExceptionOnTimeoutStore.unsafeGet(Object key)
          Returns the local value associated with the key.
 Element LocalReadsOnTimeoutStore.unsafeGet(Object key)
          Returns the local value associated with the key.
 Element NoOpOnTimeoutStore.unsafeGet(Object key)
          Returns the local value associated with the key.
 Element NonstopStoreImpl.unsafeGet(Object key)
          Returns the local value associated with the key.
 Element ExecutorServiceStore.unsafeGetQuiet(Object key)
          Same as TerracottaStore.unsafeGet(Object) but does not update last usage statistics
 Element ExceptionOnTimeoutStore.unsafeGetQuiet(Object key)
          Same as TerracottaStore.unsafeGet(Object) but does not update last usage statistics
 Element LocalReadsOnTimeoutStore.unsafeGetQuiet(Object key)
          Same as TerracottaStore.unsafeGet(Object) but does not update last usage statistics
 Element NoOpOnTimeoutStore.unsafeGetQuiet(Object key)
          Same as TerracottaStore.unsafeGet(Object) but does not update last usage statistics
 Element NonstopStoreImpl.unsafeGetQuiet(Object key)
          Same as TerracottaStore.unsafeGet(Object) but does not update last usage statistics
 

Methods in net.sf.ehcache.constructs.nonstop.store with parameters of type Element
 boolean TransactionalExecutorServiceStore.put(Element element)
          Puts an item into the store.
 boolean ExecutorServiceStore.put(Element element)
          Puts an item into the store.
 boolean ExceptionOnTimeoutStore.put(Element element)
          Puts an item into the store.
 boolean LocalReadsOnTimeoutStore.put(Element element)
          Puts an item into the store.
 boolean NoOpOnTimeoutStore.put(Element element)
          Puts an item into the store.
 boolean NonstopStoreImpl.put(Element element)
          Puts an item into the store.
 Element TransactionalExecutorServiceStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element ExecutorServiceStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element ExceptionOnTimeoutStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element LocalReadsOnTimeoutStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element NoOpOnTimeoutStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element NonstopStoreImpl.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 boolean TransactionalExecutorServiceStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 boolean ExecutorServiceStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 boolean ExceptionOnTimeoutStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 boolean LocalReadsOnTimeoutStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 boolean NoOpOnTimeoutStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 boolean NonstopStoreImpl.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 Element TransactionalExecutorServiceStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element ExecutorServiceStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element ExceptionOnTimeoutStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element LocalReadsOnTimeoutStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element NoOpOnTimeoutStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element NonstopStoreImpl.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element TransactionalExecutorServiceStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element ExecutorServiceStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element ExceptionOnTimeoutStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element LocalReadsOnTimeoutStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element NoOpOnTimeoutStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element NonstopStoreImpl.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 boolean TransactionalExecutorServiceStore.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 boolean ExecutorServiceStore.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 boolean ExceptionOnTimeoutStore.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 boolean LocalReadsOnTimeoutStore.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 boolean NoOpOnTimeoutStore.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 boolean NonstopStoreImpl.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 

Uses of Element in net.sf.ehcache.distribution
 

Methods in net.sf.ehcache.distribution that return Element
 Element EventMessage.getElement()
           
 Element TransactionalRMICachePeer.getQuiet(Serializable key)
           
 Element RMICachePeer.getQuiet(Serializable key)
          Gets an element from the cache, without updating Element statistics.
 Element CachePeer.getQuiet(Serializable key)
          Gets an element from the cache, without updating Element statistics.
 

Methods in net.sf.ehcache.distribution with parameters of type Element
 void RMISynchronousCacheReplicator.notifyElementEvicted(Ehcache cache, Element element)
          Called immediately after an element is evicted from the cache.
 void RMISynchronousCacheReplicator.notifyElementExpired(Ehcache cache, Element element)
          Called immediately after an element is found to be expired.
 void RMISynchronousCacheReplicator.notifyElementPut(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache.
 void RMIAsynchronousCacheReplicator.notifyElementPut(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache.
 void RMISynchronousCacheReplicator.notifyElementRemoved(Ehcache cache, Element element)
          Called immediately after an attempt to remove an element.
 void RMIAsynchronousCacheReplicator.notifyElementRemoved(Ehcache cache, Element element)
          Called immediately after an attempt to remove an element.
 void RMISynchronousCacheReplicator.notifyElementUpdated(Ehcache 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(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache and the element already existed in the cache.
 void TransactionalRMICachePeer.put(Element element)
           
 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.
protected static void RMISynchronousCacheReplicator.replicatePutNotification(Ehcache cache, Element element)
          Does the actual RMI remote call.
 

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

Uses of Element in net.sf.ehcache.event
 

Methods in net.sf.ehcache.event that return Element
 Element RegisteredEventListeners.ElementCreationCallback.createElement(ClassLoader loader)
          Materialize the relevant element in the given classloader
 

Methods in net.sf.ehcache.event with parameters of type Element
 void TerracottaCacheEventReplication.notifyElementEvicted(Ehcache cache, Element element)
          Called immediately after an element is evicted from the cache.
 void CacheEventListener.notifyElementEvicted(Ehcache cache, Element element)
          Called immediately after an element is evicted from the cache.
 void RegisteredEventListeners.notifyElementEvicted(Element element, boolean remoteEvent)
          Notifies all registered listeners, in no guaranteed order, that an element has been evicted from the cache
 void TerracottaCacheEventReplication.notifyElementExpired(Ehcache cache, Element element)
          Called immediately after an element is found to be expired.
 void CacheEventListener.notifyElementExpired(Ehcache 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 TerracottaCacheEventReplication.notifyElementPut(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache.
 void CacheEventListener.notifyElementPut(Ehcache 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 TerracottaCacheEventReplication.notifyElementRemoved(Ehcache cache, Element element)
          Called immediately after an attempt to remove an element.
 void CacheEventListener.notifyElementRemoved(Ehcache cache, Element element)
          Called immediately after an attempt to remove an element.
 void RegisteredEventListeners.notifyElementRemoved(Element element, boolean remoteEvent)
          Notifies all registered listeners, in no guaranteed order, that an element was removed
 void TerracottaCacheEventReplication.notifyElementUpdated(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache and the element already existed in the cache.
 void CacheEventListener.notifyElementUpdated(Ehcache 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.search.attribute
 

Methods in net.sf.ehcache.search.attribute with parameters of type Element
 Object KeyObjectAttributeExtractor.attributeFor(Element element, String attributeName)
          Extract the attribute value.
 Object AttributeExtractor.attributeFor(Element element, String attributeName)
          Extract the attribute value.
 Object JavaBeanAttributeExtractor.attributeFor(Element element, String attributeName)
          Extract the attribute value.
 Object ReflectionAttributeExtractor.attributeFor(Element e, String attributeName)
          Evaluate the expression for the given element
 Object ValueObjectAttributeExtractor.attributeFor(Element element, String attributeName)
          Extract the attribute value.
 

Uses of Element in net.sf.ehcache.search.expression
 

Methods in net.sf.ehcache.search.expression with parameters of type Element
 boolean Or.execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 boolean Criteria.execute(Element element, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 boolean And.execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 boolean ILike.execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 boolean InCollection.execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 boolean ComparableValue.execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 boolean NotEqualTo.execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 boolean AlwaysMatch.execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 boolean Not.execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 boolean EqualTo.execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
          Test this criteria against a cache element
 

Uses of Element in net.sf.ehcache.statistics
 

Methods in net.sf.ehcache.statistics with parameters of type Element
 void NullLiveCacheStatisticsData.notifyElementEvicted(Ehcache cache, Element element)
          Called immediately after an element is evicted from the cache.
 void LiveCacheStatisticsWrapper.notifyElementEvicted(Ehcache cache, Element element)
          Called immediately after an element is evicted from the cache.
 void LiveCacheStatisticsImpl.notifyElementEvicted(Ehcache cache, Element element)
          Called immediately after an element is evicted from the cache.
 void NullLiveCacheStatisticsData.notifyElementExpired(Ehcache cache, Element element)
          Called immediately after an element is found to be expired.
 void LiveCacheStatisticsWrapper.notifyElementExpired(Ehcache cache, Element element)
          Called immediately after an element is found to be expired.
 void LiveCacheStatisticsImpl.notifyElementExpired(Ehcache cache, Element element)
          Called immediately after an element is found to be expired.
 void NullLiveCacheStatisticsData.notifyElementPut(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache.
 void LiveCacheStatisticsWrapper.notifyElementPut(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache.
 void LiveCacheStatisticsImpl.notifyElementPut(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache.
 void NullLiveCacheStatisticsData.notifyElementRemoved(Ehcache cache, Element element)
          Called immediately after an attempt to remove an element.
 void LiveCacheStatisticsWrapper.notifyElementRemoved(Ehcache cache, Element element)
          Called immediately after an attempt to remove an element.
 void LiveCacheStatisticsImpl.notifyElementRemoved(Ehcache cache, Element element)
          Called immediately after an attempt to remove an element.
 void NullLiveCacheStatisticsData.notifyElementUpdated(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache and the element already existed in the cache.
 void LiveCacheStatisticsWrapper.notifyElementUpdated(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache and the element already existed in the cache.
 void LiveCacheStatisticsImpl.notifyElementUpdated(Ehcache cache, Element element)
          Called immediately after an element has been put into the cache and the element already existed in the cache.
 

Uses of Element in net.sf.ehcache.store
 

Methods in net.sf.ehcache.store that return Element
protected  Element MemoryStore.findEvictionCandidate(Element elementJustAdded)
          Find a "relatively" unused element, but not the element just added.
 Element LruMemoryStore.get(Object key)
          Gets an item from the cache.
 Element Store.get(Object key)
          Gets an item from the cache.
 Element MemoryStore.get(Object key)
          Gets an item from the cache.
 Element LegacyStoreWrapper.get(Object key)
          Gets an item from the cache.
 Element DiskStore.get(Object key)
          Gets an DiskStore.DiskElement from the Disk Store.
 Element LruMemoryStore.getQuiet(Object key)
          Gets an item from the cache, without updating statistics.
 Element Store.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element MemoryStore.getQuiet(Object key)
          Gets an item from the cache, without updating statistics.
 Element LegacyStoreWrapper.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element DiskStore.getQuiet(Object key)
          Gets an DiskStore.DiskElement from the Disk Store, without updating statistics
 Element LruMemoryStore.putIfAbsent(Element element)
          Unsupported in LruMemoryStore
 Element Store.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element MemoryStore.putIfAbsent(Element element)
          Unsupported in MemoryStore
 Element LegacyStoreWrapper.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element DiskStore.putIfAbsent(Element element)
          Unsupported in DiskStore
 Element LruMemoryStore.remove(Object key)
          Removes an Element from the store.
 Element Store.remove(Object key)
          Removes an item from the cache.
 Element MemoryStore.remove(Object key)
          Removes an Element from the store.
 Element LegacyStoreWrapper.remove(Object key)
          Removes an item from the cache.
 Element DiskStore.remove(Object key)
          Removes an item from the disk store.
 Element LruMemoryStore.removeElement(Element element, ElementValueComparator comparator)
          Unsupported in LruMemoryStore
 Element Store.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element MemoryStore.removeElement(Element element, ElementValueComparator comparator)
          Unsupported in MemoryStore
 Element LegacyStoreWrapper.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element DiskStore.removeElement(Element element, ElementValueComparator comparator)
          Unsupported in DiskStore
 Element LruMemoryStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element Store.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element MemoryStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element LegacyStoreWrapper.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element DiskStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element LruMemoryStore.replace(Element element)
          Unsupported in LruMemoryStore
 Element Store.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element MemoryStore.replace(Element element)
          Unsupported in MemoryStore
 Element LegacyStoreWrapper.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element DiskStore.replace(Element element)
          Unsupported in DiskStore
protected  Element[] MemoryStore.sampleElements(int size)
          Uses random numbers to sample the entire map.
protected  Element[] MemoryStore.sampleElements(Object keyHint)
          Uses random numbers to sample the entire map.
 Element AbstractPolicy.selectedBasedOnPolicy(Element[] sampledElements, Element justAdded)
          Finds the best eviction candidate based on the sampled elements.
 Element Policy.selectedBasedOnPolicy(Element[] sampledElements, Element justAdded)
          Finds the best eviction candidate based on the sampled elements.
 Element TerracottaStore.unlockedGet(Object key)
          Gets the value associated with the key without acquiring any locks.
 Element TerracottaStore.unlockedGetQuiet(Object key)
          Same as TerracottaStore.unlockedGet(Object) but does not update statistics
 Element TerracottaStore.unsafeGet(Object key)
          Returns the local value associated with the key.
 Element TerracottaStore.unsafeGetQuiet(Object key)
          Same as TerracottaStore.unsafeGet(Object) but does not update last usage statistics
 

Methods in net.sf.ehcache.store with parameters of type Element
 boolean LruPolicy.compare(Element element1, Element element2)
          Compares the desirableness for eviction of two elements Compares hit counts.
 boolean FifoPolicy.compare(Element element1, Element element2)
          Compares the desirableness for eviction of two elements Compares hit counts.
 boolean LfuPolicy.compare(Element element1, Element element2)
          Compares the desirableness for eviction of two elements Compares hit counts.
 boolean Policy.compare(Element element1, Element element2)
          Compares the desirableness for eviction of two elements
protected  void LruMemoryStore.doPut(Element element)
          Allow specialised actions over adding the element to the map.
protected  void MemoryStore.doPut(Element elementJustAdded)
          Puts an element into the store
 boolean DefaultElementValueComparator.equals(Element e1, Element e2)
          Compare if the two element values are equal
 boolean ElementValueComparator.equals(Element e1, Element e2)
          Compare if the two element values are equal
protected  void LruMemoryStore.evict(Element element)
          Evict the Element.
protected  void MemoryStore.evict(Element element)
          Evict the Element.
protected  Element MemoryStore.findEvictionCandidate(Element elementJustAdded)
          Find a "relatively" unused element, but not the element just added.
protected  void LruMemoryStore.notifyExpiry(Element element)
          Before eviction elements are checked.
protected  void MemoryStore.notifyExpiry(Element element)
          Before eviction elements are checked.
 boolean LruMemoryStore.put(Element element)
          Puts an item in the cache.
 boolean Store.put(Element element)
          Puts an item into the store.
 boolean MemoryStore.put(Element element)
          Puts an item in the store.
 boolean LegacyStoreWrapper.put(Element element)
          Puts an item into the store.
 boolean DiskStore.put(Element element)
          Puts an element into the disk store.
 Element LruMemoryStore.putIfAbsent(Element element)
          Unsupported in LruMemoryStore
 Element Store.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element MemoryStore.putIfAbsent(Element element)
          Unsupported in MemoryStore
 Element LegacyStoreWrapper.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element DiskStore.putIfAbsent(Element element)
          Unsupported in DiskStore
 boolean LruMemoryStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 boolean Store.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 boolean MemoryStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 boolean LegacyStoreWrapper.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 boolean DiskStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 Element LruMemoryStore.removeElement(Element element, ElementValueComparator comparator)
          Unsupported in LruMemoryStore
 Element Store.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element MemoryStore.removeElement(Element element, ElementValueComparator comparator)
          Unsupported in MemoryStore
 Element LegacyStoreWrapper.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element DiskStore.removeElement(Element element, ElementValueComparator comparator)
          Unsupported in DiskStore
protected  void MemoryStore.removeElementChosenByEvictionPolicy(Element elementJustAdded)
          Removes the element chosen by the eviction policy
 Element LruMemoryStore.replace(Element element)
          Unsupported in LruMemoryStore
 Element Store.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element MemoryStore.replace(Element element)
          Unsupported in MemoryStore
 Element LegacyStoreWrapper.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element DiskStore.replace(Element element)
          Unsupported in DiskStore
 boolean LruMemoryStore.replace(Element old, Element element, ElementValueComparator comparator)
          Unsupported in LruMemoryStore
 boolean Store.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 boolean MemoryStore.replace(Element old, Element element, ElementValueComparator comparator)
          Unsupported in MemoryStore
 boolean LegacyStoreWrapper.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 boolean DiskStore.replace(Element old, Element element, ElementValueComparator comparator)
          Unsupported in DiskStore
 Element AbstractPolicy.selectedBasedOnPolicy(Element[] sampledElements, Element justAdded)
          Finds the best eviction candidate based on the sampled elements.
 Element AbstractPolicy.selectedBasedOnPolicy(Element[] sampledElements, Element justAdded)
          Finds the best eviction candidate based on the sampled elements.
 Element Policy.selectedBasedOnPolicy(Element[] sampledElements, Element justAdded)
          Finds the best eviction candidate based on the sampled elements.
 Element Policy.selectedBasedOnPolicy(Element[] sampledElements, Element justAdded)
          Finds the best eviction candidate based on the sampled elements.
protected  void LruMemoryStore.spoolToDisk(Element element)
          Puts the element in the DiskStore.
protected  void MemoryStore.spoolToDisk(Element element)
          Puts the element in the DiskStore.
 

Uses of Element in net.sf.ehcache.store.chm
 

Methods in net.sf.ehcache.store.chm that return Element
 Element[] SelectableConcurrentHashMap.getRandomValues(int size, Object keyHint)
           
 

Uses of Element in net.sf.ehcache.store.compound
 

Methods in net.sf.ehcache.store.compound that return Element
 Element ImmutableValueElementCopyStrategy.copyForRead(Element storedValue)
           
 Element ReadWriteSerializationCopyStrategy.copyForRead(Element storedValue)
           
 Element LegacyCopyStrategyAdapter.copyForRead(Element storedValue)
          Reconstruct an object from its storage-ready copy.
 Element NullReadWriteCopyStrategy.copyForRead(Element storedValue)
          Reconstruct an object from its storage-ready copy.
 Element SerializationCopyStrategy.copyForRead(Element storedValue)
           
 Element ImmutableValueElementCopyStrategy.copyForWrite(Element value)
           
 Element ReadWriteSerializationCopyStrategy.copyForWrite(Element value)
           
 Element LegacyCopyStrategyAdapter.copyForWrite(Element value)
          Deep copies some object and returns an internal storage-ready copy
 Element NullReadWriteCopyStrategy.copyForWrite(Element value)
          Deep copies some object and returns an internal storage-ready copy
 Element SerializationCopyStrategy.copyForWrite(Element value)
           
 Element ReadWriteSerializationCopyStrategy.duplicateElementWithNewValue(Element element, Object newValue)
          Make a duplicate of an element but using the specified value
 Element CompoundStore.get(Object key)
          Gets an item from the cache.
 Element CompoundStore.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element CompoundStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element CompoundStore.remove(Object key)
          Removes an item from the cache.
 Element CompoundStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element CompoundStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element CompoundStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element ElementSubstituteFactory.retrieve(Object key, T object)
          Decodes the supplied ElementSubstitute.
 

Methods in net.sf.ehcache.store.compound that return types with arguments of type Element
 Set<Element> CompoundStore.elementSet()
          Get a set view of the elements in this store
 

Methods in net.sf.ehcache.store.compound with parameters of type Element
 Element ImmutableValueElementCopyStrategy.copyForRead(Element storedValue)
           
 Element ReadWriteSerializationCopyStrategy.copyForRead(Element storedValue)
           
 Element LegacyCopyStrategyAdapter.copyForRead(Element storedValue)
          Reconstruct an object from its storage-ready copy.
 Element NullReadWriteCopyStrategy.copyForRead(Element storedValue)
          Reconstruct an object from its storage-ready copy.
 Element SerializationCopyStrategy.copyForRead(Element storedValue)
           
 Element ImmutableValueElementCopyStrategy.copyForWrite(Element value)
           
 Element ReadWriteSerializationCopyStrategy.copyForWrite(Element value)
           
 Element LegacyCopyStrategyAdapter.copyForWrite(Element value)
          Deep copies some object and returns an internal storage-ready copy
 Element NullReadWriteCopyStrategy.copyForWrite(Element value)
          Deep copies some object and returns an internal storage-ready copy
 Element SerializationCopyStrategy.copyForWrite(Element value)
           
 T ElementSubstituteFactory.create(Object key, Element element)
           
 Element ReadWriteSerializationCopyStrategy.duplicateElementWithNewValue(Element element, Object newValue)
          Make a duplicate of an element but using the specified value
 boolean CompoundStore.put(Element element)
          Puts an item into the store.
 Element CompoundStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 boolean CompoundStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 Element CompoundStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element CompoundStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 boolean CompoundStore.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 

Constructor parameters in net.sf.ehcache.store.compound with type arguments of type Element
CompoundStore(net.sf.ehcache.store.compound.InternalElementSubstituteFactory<?> primary, boolean copyOnRead, boolean copyOnWrite, ReadWriteCopyStrategy<Element> copyStrategy)
          Create a CompoundStore using the supplied factory as the primary factory.
CompoundStore(net.sf.ehcache.store.compound.InternalElementSubstituteFactory<?> primary, IdentityElementSubstituteFactory identity, boolean copyOnRead, boolean copyOnWrite, ReadWriteCopyStrategy<Element> copyStrategy)
          Create a CompoundStore using the supplied primary, and designated identity factory.
 

Uses of Element in net.sf.ehcache.store.compound.factories
 

Methods in net.sf.ehcache.store.compound.factories that return Element
 Element InMemoryFactory.create(Object key, Element element)
          A no-op encode that just returns the unmodified element.
 Element CapacityLimitedInMemoryFactory.create(Object key, Element element)
          Creates a substitute for the supplied Element
 Element InMemoryFactory.retrieve(Object key, Element element)
          A no-op decode that just returns the unmodified element.
 Element CapacityLimitedInMemoryFactory.retrieve(Object key, Element object)
          Retrieves the supplied Element or ElementSubstitute.
 Element DiskPersistentStorageFactory.retrieve(Object key, ElementSubstitute object)
          Decodes the supplied ElementSubstitute.
 Element DiskOverflowStorageFactory.retrieve(Object key, ElementSubstitute proxy)
          Decode an ElementProxy from an on disk marker (or a pending placeholder).
 

Methods in net.sf.ehcache.store.compound.factories with parameters of type Element
 Element InMemoryFactory.create(Object key, Element element)
          A no-op encode that just returns the unmodified element.
 ElementSubstitute DiskPersistentStorageFactory.create(Object key, Element element)
          Creates a substitute for the supplied Element
 ElementSubstitute DiskOverflowStorageFactory.create(Object key, Element element)
          Encodes an Element as a marker to on-disk location.
 Element CapacityLimitedInMemoryFactory.create(Object key, Element element)
          Creates a substitute for the supplied Element
protected  net.sf.ehcache.store.compound.factories.DiskStorageFactory.DiskMarker DiskPersistentStorageFactory.createMarker(long position, int size, Element element)
          Create a disk marker representing the given element, and area on disk.
 void InMemoryFactory.free(Lock exclusion, Element element)
          Nothing to free, so a no-op.
 void CapacityLimitedInMemoryFactory.free(Lock exclusion, Element object)
          Free any manually managed resources used by this Element or ElementSubstitute.
 Element InMemoryFactory.retrieve(Object key, Element element)
          A no-op decode that just returns the unmodified element.
 Element CapacityLimitedInMemoryFactory.retrieve(Object key, Element object)
          Retrieves the supplied Element or ElementSubstitute.
 

Uses of Element in net.sf.ehcache.transaction
 

Fields in net.sf.ehcache.transaction with type parameters of type Element
protected  ReadWriteCopyStrategy<Element> AbstractTransactionStore.copyStrategy
          The copy strategy for this store
 

Methods in net.sf.ehcache.transaction that return Element
protected  Element AbstractTransactionStore.copyElementForRead(Element element)
          Copy element for read operation
protected  Element AbstractTransactionStore.copyElementForWrite(Element element)
          Copy element for write operation
 Element ReadCommittedSoftLockImpl.getElement(TransactionID currentTransactionId)
          Get the element the current transaction is supposed to see.
 Element SoftLock.getElement(TransactionID currentTransactionId)
          Get the element the current transaction is supposed to see.
 Element ReadCommittedSoftLockImpl.getFrozenElement()
          Get the Element with which this soft lock should be replaced by a commit, rollback or clean up
 Element SoftLock.getFrozenElement()
          Get the Element with which this soft lock should be replaced by a commit, rollback or clean up
 Element AbstractTransactionStore.unlockedGet(Object key)
          Gets the value associated with the key without acquiring any locks.
 Element AbstractTransactionStore.unlockedGetQuiet(Object key)
          Same as TerracottaStore.unlockedGet(Object) but does not update statistics
 Element AbstractTransactionStore.unsafeGet(Object key)
          Returns the local value associated with the key.
 Element AbstractTransactionStore.unsafeGetQuiet(Object key)
          Same as TerracottaStore.unsafeGet(Object) but does not update last usage statistics
 Element ReadCommittedSoftLockImpl.updateElement(Element newElement)
          Change the Element at the key this soft lock is guarding
 Element SoftLock.updateElement(Element element)
          Change the Element at the key this soft lock is guarding
 

Methods in net.sf.ehcache.transaction with parameters of type Element
 Object TransactionAwareAttributeExtractor.attributeFor(Element element, String attributeName)
          Extract the attribute value.
protected  Element AbstractTransactionStore.copyElementForRead(Element element)
          Copy element for read operation
protected  Element AbstractTransactionStore.copyElementForWrite(Element element)
          Copy element for write operation
 SoftLock ReadCommittedSoftLockFactoryImpl.createSoftLock(TransactionID transactionID, Object key, Element newElement, Element oldElement)
          Create a new, unlocked soft lock
 SoftLock SoftLockFactory.createSoftLock(TransactionID transactionID, Object key, Element newElement, Element oldElement)
          Create a new, unlocked soft lock
 Element ReadCommittedSoftLockImpl.updateElement(Element newElement)
          Change the Element at the key this soft lock is guarding
 Element SoftLock.updateElement(Element element)
          Change the Element at the key this soft lock is guarding
 

Constructor parameters in net.sf.ehcache.transaction with type arguments of type Element
AbstractTransactionStore(Store underlyingStore, ReadWriteCopyStrategy<Element> copyStrategy)
          Constructor
TransactionAwareAttributeExtractor(ReadWriteCopyStrategy<Element> copyStrategy, AttributeExtractor delegate)
          Creates an attributed delegating to the supplied extractor, via the given copy strategy.
 

Uses of Element in net.sf.ehcache.transaction.local
 

Methods in net.sf.ehcache.transaction.local that return Element
 Element JtaLocalTransactionStore.get(Object key)
          Gets an item from the cache.
 Element LocalTransactionStore.get(Object key)
          Gets an item from the cache.
 Element JtaLocalTransactionStore.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element LocalTransactionStore.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element JtaLocalTransactionStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element LocalTransactionStore.putIfAbsent(Element e)
          Put an element in the store if no element is currently mapped to the elements key.
 Element JtaLocalTransactionStore.remove(Object key)
          Removes an item from the cache.
 Element LocalTransactionStore.remove(Object key)
          Removes an item from the cache.
 Element JtaLocalTransactionStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element LocalTransactionStore.removeElement(Element e, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element JtaLocalTransactionStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element LocalTransactionStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element JtaLocalTransactionStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element LocalTransactionStore.replace(Element e)
          Replace the cached element only if an Element is currently cached for this key
 

Methods in net.sf.ehcache.transaction.local with parameters of type Element
 boolean JtaLocalTransactionStore.put(Element element)
          Puts an item into the store.
 boolean LocalTransactionStore.put(Element e)
          Puts an item into the store.
 Element JtaLocalTransactionStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element LocalTransactionStore.putIfAbsent(Element e)
          Put an element in the store if no element is currently mapped to the elements key.
 boolean JtaLocalTransactionStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 boolean LocalTransactionStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 Element JtaLocalTransactionStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element LocalTransactionStore.removeElement(Element e, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element JtaLocalTransactionStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 Element LocalTransactionStore.replace(Element e)
          Replace the cached element only if an Element is currently cached for this key
 boolean JtaLocalTransactionStore.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 boolean LocalTransactionStore.replace(Element oe, Element ne, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 

Constructor parameters in net.sf.ehcache.transaction.local with type arguments of type Element
LocalTransactionStore(TransactionController transactionController, SoftLockFactory softLockFactory, Ehcache cache, Store store, ReadWriteCopyStrategy<Element> copyStrategy)
          Create a new LocalTransactionStore instance
 

Uses of Element in net.sf.ehcache.transaction.xa
 

Methods in net.sf.ehcache.transaction.xa that return Element
 Element XATransactionContext.get(Object key)
          Filter to get operations on underlying Store.
 Element XATransactionStore.get(Object key)
          Gets an item from the cache.
 Element XATransactionStore.getQuiet(Object key)
          Gets an Element from the Store, without updating statistics
 Element XATransactionStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 Element XATransactionStore.remove(Object key)
          Removes an item from the cache.
 Element XATransactionStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element XATransactionStore.removeWithWriter(Object key, CacheWriterManager writerManager)
          Removes an item from the store and the cache writer manager in an atomic operation.
 Element XATransactionStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 

Methods in net.sf.ehcache.transaction.xa with parameters of type Element
 void XATransactionContext.addCommand(Command command, Element element)
          Add a command to the current LocalTransactionContext
 boolean XATransactionStore.put(Element element)
          Puts an item into the store.
 Element XATransactionStore.putIfAbsent(Element element)
          Put an element in the store if no element is currently mapped to the elements key.
 boolean XATransactionStore.putWithWriter(Element element, CacheWriterManager writerManager)
          Puts an item into the store and the cache writer manager in an atomic operation
 Element XATransactionStore.removeElement(Element element, ElementValueComparator comparator)
          Remove the Element mapped to the key for the supplied element if the value of the supplied Element is equal to the value of the cached Element.
 Element XATransactionStore.replace(Element element)
          Replace the cached element only if an Element is currently cached for this key
 boolean XATransactionStore.replace(Element old, Element element, ElementValueComparator comparator)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 

Constructor parameters in net.sf.ehcache.transaction.xa with type arguments of type Element
XATransactionStore(TransactionManagerLookup transactionManagerLookup, SoftLockFactory softLockFactory, TransactionIDFactory transactionIdFactory, Ehcache cache, Store store, ReadWriteCopyStrategy<Element> copyStrategy)
          Constructor
 

Uses of Element in net.sf.ehcache.transaction.xa.commands
 

Methods in net.sf.ehcache.transaction.xa.commands that return Element
 Element StorePutCommand.getElement()
          Getter to the Element instance to be put in the Store
protected  Element AbstractStoreCommand.getNewElement()
          Get the new element to put in the underlying store
protected  Element AbstractStoreCommand.getOldElement()
          Get the element in the underlying store at the time this command is created
 

Constructors in net.sf.ehcache.transaction.xa.commands with parameters of type Element
AbstractStoreCommand(Element oldElement, Element newElement)
          Create a Store Command
StorePutCommand(Element oldElement, Element newElement)
          Create a StorePutCommand
StoreRemoveCommand(Object key, Element oldElement)
          Create a StoreRemoveCommand
 

Uses of Element in net.sf.ehcache.writer
 

Methods in net.sf.ehcache.writer with parameters of type Element
 void CacheWriterManager.put(Element element)
          Schedule a put operation for this element in the CacheWriterManager, which will call the CacheWriter when appropriate.
 void AbstractCacheWriter.write(Element element)
          Write the specified value under the specified key to the underlying store.
 void CacheWriter.write(Element element)
          Write the specified value under the specified key to the underlying store.
 

Method parameters in net.sf.ehcache.writer with type arguments of type Element
 void AbstractCacheWriter.writeAll(Collection<Element> elements)
          Write the specified Elements to the underlying store.
 void CacheWriter.writeAll(Collection<Element> elements)
          Write the specified Elements to the underlying store.
 

Uses of Element in net.sf.ehcache.writer.writebehind
 

Methods in net.sf.ehcache.writer.writebehind with parameters of type Element
 void WriteBehindManager.put(Element element)
          Schedule a put operation for this element in the CacheWriterManager, which will call the CacheWriter when appropriate.
 void WriteBehind.write(Element element)
          Add a write operation for a given element.
 void WriteBehindQueueManager.write(Element element)
          Add a write operation for a given element.
 

Uses of Element in net.sf.ehcache.writer.writebehind.operations
 

Methods in net.sf.ehcache.writer.writebehind.operations that return Element
 Element WriteOperation.getElement()
          Retrieves the element that will be used for this operation
 

Constructors in net.sf.ehcache.writer.writebehind.operations with parameters of type Element
WriteOperation(Element element)
          Create a new write operation for a particular element
WriteOperation(Element element, long creationTime)
          Create a new write operation for a particular element and creation time
 

Constructor parameters in net.sf.ehcache.writer.writebehind.operations with type arguments of type Element
WriteAllOperation(List<Element> elements)
          Create a new write all operation for the provided list of element
 

Uses of Element in net.sf.ehcache.writer.writethrough
 

Methods in net.sf.ehcache.writer.writethrough with parameters of type Element
 void WriteThroughManager.put(Element element)
          Schedule a put operation for this element in the CacheWriterManager, which will call the CacheWriter when appropriate.
 


ehcache

true