ehcache

Uses of Interface
net.sf.ehcache.store.ElementValueComparator

Packages that use ElementValueComparator
net.sf.ehcache.config This package contains the cache configuration code. 
net.sf.ehcache.store Store package. 
net.sf.ehcache.store.disk This package contains the disk store. 
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. 
 

Uses of ElementValueComparator in net.sf.ehcache.config
 

Methods in net.sf.ehcache.config that return ElementValueComparator
 ElementValueComparator ElementValueComparatorConfiguration.createElementComparatorInstance(CacheConfiguration cacheConfiguration, ClassLoader loader)
          Get (and potentially) instantiate the instance
 

Uses of ElementValueComparator in net.sf.ehcache.store
 

Classes in net.sf.ehcache.store that implement ElementValueComparator
 class DefaultElementValueComparator
          DefaultElementValueComparator does compare the values on the two elements based on their equals contract
 

Methods in net.sf.ehcache.store that return ElementValueComparator
static ElementValueComparator TxCopyingCacheStore.wrap(ElementValueComparator comparator, CacheConfiguration cacheConfiguration)
          Wraps the given ElementValueComparator if the configuration requires copy on read
static ElementValueComparator CopyingCacheStore.wrapIfCopy(ElementValueComparator comparator, CacheConfiguration cacheConfiguration)
          Wraps the given ElementValueComparator if the configuration requires copy on read
 

Methods in net.sf.ehcache.store with parameters of type ElementValueComparator
 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)
          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 LruMemoryStore.removeElement(Element element, ElementValueComparator comparator)
          Unsupported in LruMemoryStore
 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 ElementIdAssigningStore.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 CacheStore.removeElement(Element element, ElementValueComparator comparator)
           
 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)
          Replace the cached element only if the value of the current Element is equal to the value of the supplied old Element.
 boolean LruMemoryStore.replace(Element old, Element element, ElementValueComparator comparator)
          Unsupported in LruMemoryStore
 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 ElementIdAssigningStore.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 CacheStore.replace(Element old, Element element, ElementValueComparator comparator)
           
static ElementValueComparator TxCopyingCacheStore.wrap(ElementValueComparator comparator, CacheConfiguration cacheConfiguration)
          Wraps the given ElementValueComparator if the configuration requires copy on read
static ElementValueComparator CopyingCacheStore.wrapIfCopy(ElementValueComparator comparator, CacheConfiguration cacheConfiguration)
          Wraps the given ElementValueComparator if the configuration requires copy on read
 

Uses of ElementValueComparator in net.sf.ehcache.store.disk
 

Methods in net.sf.ehcache.store.disk with parameters of type ElementValueComparator
 Element DiskStore.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.
 boolean DiskStore.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 ElementValueComparator in net.sf.ehcache.transaction.local
 

Methods in net.sf.ehcache.transaction.local with parameters of type ElementValueComparator
 Element LocalTransactionStore.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 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.
 boolean LocalTransactionStore.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 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.
 

Constructors in net.sf.ehcache.transaction.local with parameters of type ElementValueComparator
LocalTransactionStore(TransactionController transactionController, TransactionIDFactory transactionIdFactory, SoftLockManager softLockManager, Ehcache cache, Store store, ElementValueComparator comparator)
          Create a new LocalTransactionStore instance
 

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

Methods in net.sf.ehcache.transaction.xa with parameters of type ElementValueComparator
 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.
 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.
 

Constructors in net.sf.ehcache.transaction.xa with parameters of type ElementValueComparator
EhcacheXAResourceImpl(Ehcache cache, Store underlyingStore, TransactionManagerLookup txnManagerLookup, SoftLockManager softLockManager, TransactionIDFactory transactionIDFactory, ElementValueComparator comparator, org.terracotta.statistics.observer.OperationObserver<XaCommitOutcome> commitObserver, org.terracotta.statistics.observer.OperationObserver<XaRollbackOutcome> rollbackObserver, org.terracotta.statistics.observer.OperationObserver<XaRecoveryOutcome> recoveryObserver)
          Constructor
XATransactionStore(TransactionManagerLookup transactionManagerLookup, SoftLockManager softLockManager, TransactionIDFactory transactionIdFactory, Ehcache cache, Store store, ElementValueComparator comparator)
          Constructor
 

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

Methods in net.sf.ehcache.transaction.xa.commands with parameters of type ElementValueComparator
 boolean Command.prepare(Store store, SoftLockManager softLockManager, XidTransactionID transactionId, ElementValueComparator comparator)
          Prepare the commmand un the underlying store
 boolean AbstractStoreCommand.prepare(Store store, SoftLockManager softLockManager, XidTransactionID transactionId, ElementValueComparator comparator)
          Prepare the commmand un the underlying store
 


ehcache

Copyright 2001-2014, Terracotta, Inc.