Uses of Interface
net.sf.ehcache.store.ElementValueComparator
-
Packages that use ElementValueComparator Package Description 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 Modifier and Type Method Description ElementValueComparatorElementValueComparatorConfiguration. createElementComparatorInstance(CacheConfiguration cacheConfiguration, java.lang.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 Modifier and Type Class Description classDefaultElementValueComparatorDefaultElementValueComparator does compare the values on the two elements based on theirequalscontractMethods in net.sf.ehcache.store that return ElementValueComparator Modifier and Type Method Description static ElementValueComparatorTxCopyingCacheStore. wrap(ElementValueComparator comparator, CacheConfiguration cacheConfiguration)Wraps the givenElementValueComparatorif the configuration requires copy on readstatic ElementValueComparatorCopyingCacheStore. wrapIfCopy(ElementValueComparator comparator, CacheConfiguration cacheConfiguration)Wraps the givenElementValueComparatorif the configuration requires copy on readMethods in net.sf.ehcache.store with parameters of type ElementValueComparator Modifier and Type Method Description ElementCacheStore. removeElement(Element element, ElementValueComparator comparator)ElementElementIdAssigningStore. 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.ElementLegacyStoreWrapper. 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.ElementLruMemoryStore. removeElement(Element element, ElementValueComparator comparator)Unsupported in LruMemoryStoreElementMemoryStore. 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.ElementStore. 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.booleanCacheStore. replace(Element old, Element element, ElementValueComparator comparator)booleanElementIdAssigningStore. 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.booleanLegacyStoreWrapper. 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.booleanLruMemoryStore. replace(Element old, Element element, ElementValueComparator comparator)Unsupported in LruMemoryStorebooleanMemoryStore. 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.booleanStore. 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.static ElementValueComparatorTxCopyingCacheStore. wrap(ElementValueComparator comparator, CacheConfiguration cacheConfiguration)Wraps the givenElementValueComparatorif the configuration requires copy on readstatic ElementValueComparatorCopyingCacheStore. wrapIfCopy(ElementValueComparator comparator, CacheConfiguration cacheConfiguration)Wraps the givenElementValueComparatorif 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 Modifier and Type Method Description ElementDiskStore. 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.booleanDiskStore. 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 Modifier and Type Method Description ElementJtaLocalTransactionStore. 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.ElementLocalTransactionStore. 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.booleanJtaLocalTransactionStore. 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.booleanLocalTransactionStore. 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 Constructor Description 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 Modifier and Type Method Description ElementXATransactionStore. 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.booleanXATransactionStore. 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 Constructor Description 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)ConstructorXATransactionStore(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 Modifier and Type Method Description booleanAbstractStoreCommand. prepare(Store store, SoftLockManager softLockManager, XidTransactionID transactionId, ElementValueComparator comparator)Prepare the commmand un the underlying storebooleanCommand. prepare(Store store, SoftLockManager softLockManager, XidTransactionID transactionId, ElementValueComparator comparator)Prepare the commmand un the underlying store
-