Uses of Interface
org.apache.commons.jcs3.engine.behavior.ICacheElement
Packages that use ICacheElement
Package
Description
Contains classes for accessing the cache.
Root package for auxiliary caches.
The primary disk auxiliary.
Root package for the lateral cache family.
Root package for the remote auxiliary cache.
Interfaces used by the core and the auxiliary caches.
Interfaces used by the core and the auxiliary caches.
The primary cache classes and the hub.
Parent package for memory type plugins.
The primary memory plugin using a 'least recently used' removal policy.
A memory plugin implemented using a 'most recently used' removal policy.
A memory plugin implemented using soft references.
-
Uses of ICacheElement in org.apache.commons.jcs3.access
Methods in org.apache.commons.jcs3.access that return ICacheElementModifier and TypeMethodDescriptionCacheAccess.getCacheElement(K name) This method returns the ICacheElement<K, V> wrapper which provides access to element info and other attributes.Methods in org.apache.commons.jcs3.access that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> CacheAccess.getCacheElements(Set<K> names) Get multiple elements from the cache based on a set of cache keys.Map<K,ICacheElement<K, V>> CacheAccess.getMatchingCacheElements(String pattern) Get multiple elements from the cache based on a set of cache keys. -
Uses of ICacheElement in org.apache.commons.jcs3.access.behavior
Methods in org.apache.commons.jcs3.access.behavior that return ICacheElementModifier and TypeMethodDescriptionICacheAccess.getCacheElement(K name) This method returns the ICacheElement<K, V> wrapper which provides access to element info and other attributes.Methods in org.apache.commons.jcs3.access.behavior that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> ICacheAccess.getCacheElements(Set<K> names) Get multiple elements from the cache based on a set of cache keys.Map<K,ICacheElement<K, V>> ICacheAccess.getMatchingCacheElements(String pattern) Get multiple elements from the cache based on a set of cache keys. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary
Methods in org.apache.commons.jcs3.auxiliary that return ICacheElementModifier and TypeMethodDescriptionabstract ICacheElement<K,V> Gets the item from the cache.Gets the item from the cache.protected final ICacheElement<K,V> AbstractAuxiliaryCacheEventLogging.getWithEventLogging(K key) Gets the item from the cache.protected abstract ICacheElement<K,V> AbstractAuxiliaryCacheEventLogging.processGet(K key) Implementation of get.Methods in org.apache.commons.jcs3.auxiliary that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> AbstractAuxiliaryCacheEventLogging.getMatching(String pattern) Gets items from the cache matching the given pattern.protected final Map<K,ICacheElement<K, V>> AbstractAuxiliaryCacheEventLogging.getMatchingWithEventLogging(String pattern) Gets matching items from the cache based on the given pattern.Map<K,ICacheElement<K, V>> AbstractAuxiliaryCacheEventLogging.getMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.protected final Map<K,ICacheElement<K, V>> AbstractAuxiliaryCacheEventLogging.getMultipleWithEventLogging(Set<K> keys) Gets multiple items from the cache based on the given set of keys.protected abstract Map<K,ICacheElement<K, V>> AbstractAuxiliaryCacheEventLogging.processGetMatching(String pattern) Implementation of getMatching.protected Map<K,ICacheElement<K, V>> AbstractAuxiliaryCache.processGetMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.Methods in org.apache.commons.jcs3.auxiliary with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected ICacheEvent<K>AbstractAuxiliaryCache.createICacheEvent(ICacheElement<K, V> item, String eventName) Logs an event if an event logger is configured.protected abstract voidAbstractAuxiliaryCacheEventLogging.processUpdate(ICacheElement<K, V> cacheElement) Implementation of put.voidAbstractAuxiliaryCacheEventLogging.update(ICacheElement<K, V> cacheElement) Puts an item into the cache.protected final voidAbstractAuxiliaryCacheEventLogging.updateWithEventLogging(ICacheElement<K, V> cacheElement) Puts an item into the cache. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.disk
Classes in org.apache.commons.jcs3.auxiliary.disk that implement ICacheElementModifier and TypeClassDescriptionclassPurgatoryElement<K,V> Implementation of cache elements in purgatory.Methods in org.apache.commons.jcs3.auxiliary.disk that return ICacheElementModifier and TypeMethodDescriptionprotected final ICacheElement<K,V> Get a value from the persistent store.final ICacheElement<K,V> Check to see if the item is in purgatory.PurgatoryElement.getCacheElement()Get the wrapped cache element.Methods in org.apache.commons.jcs3.auxiliary.disk that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionprotected final Map<K,ICacheElement<K, V>> AbstractDiskCache.doGetMatching(String pattern) Get a value from the persistent store.Map<K,ICacheElement<K, V>> AbstractDiskCache.getMatching(String pattern) Gets items from the cache matching the given pattern.Methods in org.apache.commons.jcs3.auxiliary.disk with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected final voidAbstractDiskCache.doUpdate(ICacheElement<K, V> cacheElement) Add a cache element to the persistent store.voidAbstractDiskCache.MyCacheListener.handlePut(ICacheElement<K, V> element) final voidAbstractDiskCache.update(ICacheElement<K, V> cacheElement) Adds the provided element to the cache.Constructors in org.apache.commons.jcs3.auxiliary.disk with parameters of type ICacheElementModifierConstructorDescriptionPurgatoryElement(ICacheElement<K, V> cacheElement) Constructor for the PurgatoryElement<K, V> object -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.disk.block
Methods in org.apache.commons.jcs3.auxiliary.disk.block that return ICacheElementModifier and TypeMethodDescriptionprotected ICacheElement<K,V> BlockDiskCache.processGet(K key) Gets the ICacheElement<K, V> for the key if it is in the cache.Methods in org.apache.commons.jcs3.auxiliary.disk.block that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> BlockDiskCache.processGetMatching(String pattern) Gets matching items from the cache.Methods in org.apache.commons.jcs3.auxiliary.disk.block with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected voidBlockDiskCache.processUpdate(ICacheElement<K, V> element) Writes an element to disk. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.disk.indexed
Methods in org.apache.commons.jcs3.auxiliary.disk.indexed that return ICacheElementModifier and TypeMethodDescriptionprotected ICacheElement<K,V> IndexedDiskCache.processGet(K key) Gets the key, then goes to disk to get the object.Methods in org.apache.commons.jcs3.auxiliary.disk.indexed that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> IndexedDiskCache.processGetMatching(String pattern) Gets matching items from the cache.Methods in org.apache.commons.jcs3.auxiliary.disk.indexed with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected voidIndexedDiskCache.processUpdate(ICacheElement<K, V> ce) Update the disk cache. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.disk.jdbc
Methods in org.apache.commons.jcs3.auxiliary.disk.jdbc that return ICacheElementModifier and TypeMethodDescriptionprotected ICacheElement<K,V> JDBCDiskCache.processGet(K key) Queries the database for the value.Methods in org.apache.commons.jcs3.auxiliary.disk.jdbc that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionprotected Map<K,ICacheElement<K, V>> JDBCDiskCache.processGetMatching(String pattern) This will run a like query.Methods in org.apache.commons.jcs3.auxiliary.disk.jdbc with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected booleanJDBCDiskCache.doesElementExist(ICacheElement<K, V> ce, Connection con) Does an element exist for this key?protected voidJDBCDiskCache.processUpdate(ICacheElement<K, V> ce) Inserts or updates. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.disk.jdbc.mysql
Methods in org.apache.commons.jcs3.auxiliary.disk.jdbc.mysql that return ICacheElementModifier and TypeMethodDescriptionprotected ICacheElement<K,V> MySQLDiskCache.processGet(K key) This delegates to the generic JDBC disk cache.Methods in org.apache.commons.jcs3.auxiliary.disk.jdbc.mysql that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionprotected Map<K,ICacheElement<K, V>> MySQLDiskCache.processGetMatching(String pattern) This delegates to the generic JDBC disk cache.Methods in org.apache.commons.jcs3.auxiliary.disk.jdbc.mysql with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected voidMySQLDiskCache.processUpdate(ICacheElement<K, V> element) This delegates to the generic JDBC disk cache. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.lateral
Fields in org.apache.commons.jcs3.auxiliary.lateral declared as ICacheElementModifier and TypeFieldDescriptionLateralElementDescriptor.ceThe Cache Element that we are distributing.Methods in org.apache.commons.jcs3.auxiliary.lateral that return ICacheElementModifier and TypeMethodDescriptionSynchronously reads from the lateral cache.Synchronously reads from the lateral cache.LateralElementDescriptor.getPayload()Return payloadprotected ICacheElement<K,V> LateralCache.processGet(K key) The performance costs are too great.Methods in org.apache.commons.jcs3.auxiliary.lateral that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> LateralCacheNoWait.getMatching(String pattern) Synchronously reads from the lateral cache.Map<K,ICacheElement<K, V>> LateralCacheNoWaitFacade.getMatching(String pattern) Synchronously reads from the lateral cache.Map<K,ICacheElement<K, V>> LateralCacheNoWait.getMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.Map<K,ICacheElement<K, V>> LateralCacheNoWaitFacade.getMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.protected Map<K,ICacheElement<K, V>> LateralCache.processGetMatching(String pattern) Methods in org.apache.commons.jcs3.auxiliary.lateral with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected voidLateralCache.processUpdate(ICacheElement<K, V> ce) Update lateral.voidLateralCacheNoWait.update(ICacheElement<K, V> ce) voidLateralCacheNoWaitFacade.update(ICacheElement<K, V> ce) Update the cache element in all lateral cachesConstructors in org.apache.commons.jcs3.auxiliary.lateral with parameters of type ICacheElementModifierConstructorDescriptionConstructor for the LateralElementDescriptor objectLateralElementDescriptor(ICacheElement<K, V> ce, LateralCommand command) Constructor for the LateralElementDescriptor objectLateralElementDescriptor(ICacheElement<K, V> ce, LateralCommand command, long requesterId) Constructor for the LateralElementDescriptor object -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.lateral.socket.tcp
Methods in org.apache.commons.jcs3.auxiliary.lateral.socket.tcp that return ICacheElementModifier and TypeMethodDescriptionIf get is allowed, we will issues a get request.Gets the cache that was injected by the lateral factory.Methods in org.apache.commons.jcs3.auxiliary.lateral.socket.tcp that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> LateralTCPService.getMatching(String cacheName, String pattern) If allow get is true, we will issue a getmatching query.Map<K,ICacheElement<K, V>> LateralTCPService.getMatching(String cacheName, String pattern, long requesterId) If allow get is true, we will issue a getmatching query.Map<K,ICacheElement<K, V>> LateralTCPService.getMultiple(String cacheName, Set<K> keys) Gets multiple items from the cache based on the given set of keys.Map<K,ICacheElement<K, V>> LateralTCPService.getMultiple(String cacheName, Set<K> keys, long requesterId) This issues a separate get for each item.Map<K,ICacheElement<K, V>> LateralTCPListener.handleGetMatching(String cacheName, String pattern) Gets the cache that was injected by the lateral factory.Methods in org.apache.commons.jcs3.auxiliary.lateral.socket.tcp with parameters of type ICacheElementModifier and TypeMethodDescriptionvoidLateralTCPListener.handlePut(ICacheElement<K, V> element) Increments the put count.voidLateralTCPService.update(ICacheElement<K, V> item) voidLateralTCPService.update(ICacheElement<K, V> item, long requesterId) If put is allowed, we will issue a put. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.remote
Methods in org.apache.commons.jcs3.auxiliary.remote that return ICacheElementModifier and TypeMethodDescriptionSynchronously reads from the remote cache.Synchronously reads from the remote cache.AbstractRemoteAuxiliaryCache.getUsingPool(K key) This allows gets to timeout in case of remote server machine shutdown.protected ICacheElement<K,V> AbstractRemoteAuxiliaryCache.processGet(K key) Synchronously get from the remote cache; if failed, replace the remote handle with a zombie.Methods in org.apache.commons.jcs3.auxiliary.remote that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> AbstractRemoteCacheNoWaitFacade.getMatching(String pattern) Synchronously read from the remote cache.Map<K,ICacheElement<K, V>> RemoteCacheNoWait.getMatching(String pattern) Map<K,ICacheElement<K, V>> AbstractRemoteCacheNoWaitFacade.getMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.Map<K,ICacheElement<K, V>> RemoteCacheNoWait.getMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.Map<K,ICacheElement<K, V>> AbstractRemoteAuxiliaryCache.processGetMatching(String pattern) Calls get matching on the server.Methods in org.apache.commons.jcs3.auxiliary.remote with parameters of type ICacheElementModifier and TypeMethodDescriptionvoidAbstractRemoteCacheListener.handlePut(ICacheElement<K, V> cb) If this is configured to remove on put, then remove the element since it has been updated elsewhere. cd should be incomplete for faster transmission.protected voidAbstractRemoteAuxiliaryCache.processUpdate(ICacheElement<K, V> ce) Serializes the object and then calls update on the remote server with the byte array.voidAbstractRemoteCacheNoWaitFacade.update(ICacheElement<K, V> ce) Put an element in the cache.voidRemoteCacheNoWait.update(ICacheElement<K, V> element) Adds a put event to the queue. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.remote.behavior
Methods in org.apache.commons.jcs3.auxiliary.remote.behavior with parameters of type ICacheElementModifier and TypeMethodDescriptionvoidIRemoteCacheListener.handlePut(ICacheElement<K, V> item) Notifies the subscribers for a cache entry update. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.remote.http.client
Methods in org.apache.commons.jcs3.auxiliary.remote.http.client that return ICacheElementModifier and TypeMethodDescriptionCreate a request, process, extract the payload.Create a request, process, extract the payload.Methods in org.apache.commons.jcs3.auxiliary.remote.http.client that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> RemoteHttpCacheClient.getMatching(String cacheName, String pattern) Gets multiple items from the cache matching the pattern.Map<K,ICacheElement<K, V>> RemoteHttpCacheClient.getMatching(String cacheName, String pattern, long requesterId) Gets multiple items from the cache matching the pattern.Map<K,ICacheElement<K, V>> RemoteHttpCacheClient.getMultiple(String cacheName, Set<K> keys) Gets multiple items from the cache based on the given set of keys.Map<K,ICacheElement<K, V>> RemoteHttpCacheClient.getMultiple(String cacheName, Set<K> keys, long requesterId) Gets multiple items from the cache based on the given set of keys.Methods in org.apache.commons.jcs3.auxiliary.remote.http.client with parameters of type ICacheElementModifier and TypeMethodDescriptionvoidRemoteHttpCacheClient.update(ICacheElement<K, V> item) Puts a cache item to the cache.voidRemoteHttpCacheClient.update(ICacheElement<K, V> cacheElement, long requesterId) Puts a cache item to the cache. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.remote.http.server
Methods in org.apache.commons.jcs3.auxiliary.remote.http.server that return ICacheElementModifier and TypeMethodDescriptionReturns a cache value from the specified remote cache; or null if the cache or key does not exist.Returns a cache bean from the specified cache; or null if the key does not exist.RemoteHttpCacheService.processGet(String cacheName, K key, long requesterId) Processes a get request.Methods in org.apache.commons.jcs3.auxiliary.remote.http.server that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionprotected ICacheEvent<ICacheElement<K,V>> AbstractRemoteCacheService.createICacheEvent(ICacheElement<K, V> item, long requesterId, String eventName) Logs an event if an event logger is configured.Map<K,ICacheElement<K, V>> AbstractRemoteCacheService.getMatching(String cacheName, String pattern) Gets all matching items.Map<K,ICacheElement<K, V>> AbstractRemoteCacheService.getMatching(String cacheName, String pattern, long requesterId) Retrieves all matching keys.Map<K,ICacheElement<K, V>> AbstractRemoteCacheService.getMultiple(String cacheName, Set<K> keys) Gets multiple items from the cache based on the given set of keys.Map<K,ICacheElement<K, V>> AbstractRemoteCacheService.getMultiple(String cacheName, Set<K> keys, long requesterId) Gets multiple items from the cache based on the given set of keys.Map<K,ICacheElement<K, V>> RemoteHttpCacheService.processGetMatching(String cacheName, String pattern, long requesterId) Processes a get request.Map<K,ICacheElement<K, V>> RemoteHttpCacheService.processGetMultiple(String cacheName, Set<K> keys, long requesterId) Processes a get request.Methods in org.apache.commons.jcs3.auxiliary.remote.http.server with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected ICacheEvent<ICacheElement<K,V>> AbstractRemoteCacheService.createICacheEvent(ICacheElement<K, V> item, long requesterId, String eventName) Logs an event if an event logger is configured.voidRemoteHttpCacheService.processUpdate(ICacheElement<K, V> item, long requesterId) Processes an update request.voidAbstractRemoteCacheService.update(ICacheElement<K, V> item) voidAbstractRemoteCacheService.update(ICacheElement<K, V> item, long requesterId) The internal processing is wrapped in event logging calls. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.remote.server
Methods in org.apache.commons.jcs3.auxiliary.remote.server that return ICacheElementModifier and TypeMethodDescriptionReturns a cache value from the specified remote cache; or null if the cache or key does not exist.Returns a cache bean from the specified cache; or null if the key does not exist.Methods in org.apache.commons.jcs3.auxiliary.remote.server that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> RemoteCacheServer.getMatching(String cacheName, String pattern) Gets all matching items.Map<K,ICacheElement<K, V>> RemoteCacheServer.getMatching(String cacheName, String pattern, long requesterId) Retrieves all matching keys.Map<K,ICacheElement<K, V>> RemoteCacheServer.getMultiple(String cacheName, Set<K> keys) Gets multiple items from the cache based on the given set of keys.Map<K,ICacheElement<K, V>> RemoteCacheServer.getMultiple(String cacheName, Set<K> keys, long requesterId) Gets multiple items from the cache based on the given set of keys.protected Map<K,ICacheElement<K, V>> RemoteCacheServer.processGetMatching(String cacheName, String pattern, long requesterId) Retrieves all matching keys.Methods in org.apache.commons.jcs3.auxiliary.remote.server with parameters of type ICacheElementModifier and TypeMethodDescriptionvoidRemoteCacheServer.put(ICacheElement<K, V> item) Puts a cache bean to the remote cache and notifies all listeners which
have a different listener id than the originating host; are currently subscribed to the related cache.voidRemoteCacheServer.update(ICacheElement<K, V> item) voidRemoteCacheServer.update(ICacheElement<K, V> item, long requesterId) The internal processing is wrapped in event logging calls. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.remote.util
Methods in org.apache.commons.jcs3.auxiliary.remote.util with parameters of type ICacheElementModifier and TypeMethodDescriptionstatic <K,V> RemoteCacheRequest<K, V> RemoteCacheRequestFactory.createUpdateRequest(ICacheElement<K, V> cacheElement, long requesterId) Creates an Update Request. -
Uses of ICacheElement in org.apache.commons.jcs3.auxiliary.remote.value
Methods in org.apache.commons.jcs3.auxiliary.remote.value that return ICacheElementMethods in org.apache.commons.jcs3.auxiliary.remote.value with parameters of type ICacheElementModifier and TypeMethodDescriptionvoidRemoteCacheRequest.setCacheElement(ICacheElement<K, V> cacheElement) -
Uses of ICacheElement in org.apache.commons.jcs3.engine
Classes in org.apache.commons.jcs3.engine that implement ICacheElementModifier and TypeClassDescriptionclassCacheElement<K,V> Generic element wrapper.classEither serialized value or the value should be null;Methods in org.apache.commons.jcs3.engine that return ICacheElementModifier and TypeMethodDescriptionDoes nothing.Methods in org.apache.commons.jcs3.engine that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> ZombieCacheService.getMatching(String cacheName, String pattern) Returns an empty map.Map<K,ICacheElement<K, V>> ZombieCacheServiceNonLocal.getMatching(String cacheName, String pattern, long requesterId) Does nothing.Map<K,ICacheElement<K, V>> ZombieCacheService.getMultiple(String cacheName, Set<K> keys) Returns an empty map.Map<K,ICacheElement<K, V>> ZombieCacheServiceNonLocal.getMultiple(String cacheName, Set<K> keys, long requesterId) Methods in org.apache.commons.jcs3.engine with parameters of type ICacheElementModifier and TypeMethodDescriptionvoidAbstractCacheEventQueue.addPutEvent(ICacheElement<K, V> ce) This adds a put event to the queue.voidCacheAdaptor.handlePut(ICacheElement<K, V> item) Puts an item into the cache.voidZombieCacheService.put(ICacheElement<K, V> item) voidZombieCacheService.update(ICacheElement<K, V> item) Does nothing.voidZombieCacheServiceNonLocal.update(ICacheElement<K, V> item, long listenerId) Adds an update event to the queue if the maxSize is greater than 0; -
Uses of ICacheElement in org.apache.commons.jcs3.engine.behavior
Subinterfaces of ICacheElement in org.apache.commons.jcs3.engine.behaviorModifier and TypeInterfaceDescriptioninterfaceThis interface defines the behavior of the serialized element wrapper.Methods in org.apache.commons.jcs3.engine.behavior that return ICacheElementModifier and TypeMethodDescriptionGets an item from the cache.Returns a cache bean from the specified cache; or null if the key does not exist.Returns a cache bean from the specified cache; or null if the key does not exist.Methods in org.apache.commons.jcs3.engine.behavior that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> ICache.getMatching(String pattern) Gets items from the cache matching the given pattern.Map<K,ICacheElement<K, V>> ICacheService.getMatching(String cacheName, String pattern) Gets multiple items from the cache matching the pattern.Map<K,ICacheElement<K, V>> ICacheServiceNonLocal.getMatching(String cacheName, String pattern, long requesterId) Gets multiple items from the cache matching the pattern.Map<K,ICacheElement<K, V>> ICache.getMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.Map<K,ICacheElement<K, V>> ICacheService.getMultiple(String cacheName, Set<K> keys) Gets multiple items from the cache based on the given set of keys.Map<K,ICacheElement<K, V>> ICacheServiceNonLocal.getMultiple(String cacheName, Set<K> keys, long requesterId) Gets multiple items from the cache based on the given set of keys.Methods in org.apache.commons.jcs3.engine.behavior with parameters of type ICacheElementModifier and TypeMethodDescriptionvoidICacheEventQueue.addPutEvent(ICacheElement<K, V> ce) Adds a feature to the PutEvent attribute of the ICacheEventQueue objectvoidICacheListener.handlePut(ICacheElement<K, V> item) Notifies the subscribers for a cache entry update.voidICache.update(ICacheElement<K, V> element) Puts an item to the cache.voidICacheService.update(ICacheElement<K, V> item) Puts a cache item to the cache.voidICacheServiceNonLocal.update(ICacheElement<K, V> item, long requesterId) Puts a cache item to the cache. -
Uses of ICacheElement in org.apache.commons.jcs3.engine.control
Methods in org.apache.commons.jcs3.engine.control that return ICacheElementModifier and TypeMethodDescriptionGets an item from the cache.protected ICacheElement<K,V> Look in memory, then disk, remote, or laterally for this item.Do not try to go remote or laterally for this get.Methods in org.apache.commons.jcs3.engine.control that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> CompositeCache.getMatching(String pattern) Build a map of all the matching elements in all of the auxiliaries and memory.protected Map<K,ICacheElement<K, V>> CompositeCache.getMatching(String pattern, boolean localOnly) Build a map of all the matching elements in all of the auxiliaries and memory.protected Map<K,ICacheElement<K, V>> CompositeCache.getMatchingFromMemory(String pattern) Gets the key array from the memcache.Map<K,ICacheElement<K, V>> CompositeCache.getMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.protected Map<K,ICacheElement<K, V>> CompositeCache.getMultiple(Set<K> keys, boolean localOnly) Look in memory, then disk, remote, or laterally for these items.Map<K,ICacheElement<K, V>> CompositeCache.localGetMatching(String pattern) Build a map of all the matching elements in all of the auxiliaries and memory.Map<K,ICacheElement<K, V>> CompositeCache.localGetMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.Methods in org.apache.commons.jcs3.engine.control with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected voidCompositeCache.doExpires(ICacheElement<K, V> element) voidCompositeCache.handleElementEvent(ICacheElement<K, V> element, ElementEventType eventType) If there are event handlers for the item, then create an event and queue it up.booleanCompositeCache.isExpired(ICacheElement<K, V> element) Determine if the element is expired based on the values of the element attributesbooleanCompositeCache.isExpired(ICacheElement<K, V> element, long timestamp, ElementEventType eventMaxlife, ElementEventType eventIdle) Check if the element is expired based on the values of the element attributesvoidCompositeCache.localUpdate(ICacheElement<K, V> ce) Standard update method.voidCompositeCache.spoolToDisk(ICacheElement<K, V> ce) Writes the specified element to any disk auxiliaries.voidCompositeCache.update(ICacheElement<K, V> ce) Standard update method.protected voidCompositeCache.update(ICacheElement<K, V> cacheElement, boolean localOnly) Put an item into the cache.protected voidCompositeCache.updateAuxiliaries(ICacheElement<K, V> cacheElement, boolean localOnly) This method is responsible for updating the auxiliaries if they are present. -
Uses of ICacheElement in org.apache.commons.jcs3.engine.memory
Methods in org.apache.commons.jcs3.engine.memory that return ICacheElementModifier and TypeMethodDescriptionGet an item from the cache.Get an item from the cache without affecting its last access time or position.Methods in org.apache.commons.jcs3.engine.memory that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> AbstractMemoryCache.getMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.Methods in org.apache.commons.jcs3.engine.memory with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected MemoryElementDescriptor<K,V> AbstractDoubleLinkedListMemoryCache.addFirst(ICacheElement<K, V> ce) Adds a new node to the start of the link list.protected MemoryElementDescriptor<K,V> AbstractDoubleLinkedListMemoryCache.addLast(ICacheElement<K, V> ce) Adds a new node to the end of the link list.protected abstract MemoryElementDescriptor<K,V> AbstractDoubleLinkedListMemoryCache.adjustListForUpdate(ICacheElement<K, V> ce) Children implement this to control the cache expiration algorithmfinal voidAbstractDoubleLinkedListMemoryCache.update(ICacheElement<K, V> ce) Calls the abstract method updateList.abstract voidAbstractMemoryCache.update(ICacheElement<K, V> ce) Puts an item to the cache.voidAbstractMemoryCache.waterfal(ICacheElement<K, V> ce) Puts an item to the cache. -
Uses of ICacheElement in org.apache.commons.jcs3.engine.memory.behavior
Methods in org.apache.commons.jcs3.engine.memory.behavior that return ICacheElementModifier and TypeMethodDescriptionGet an item from the cacheGet an item from the cache without effecting its order or last access timeMethods in org.apache.commons.jcs3.engine.memory.behavior that return types with arguments of type ICacheElementModifier and TypeMethodDescriptionMap<K,ICacheElement<K, V>> IMemoryCache.getMultiple(Set<K> keys) Gets multiple items from the cache based on the given set of keys.Methods in org.apache.commons.jcs3.engine.memory.behavior with parameters of type ICacheElementModifier and TypeMethodDescriptionvoidIMemoryCache.update(ICacheElement<K, V> ce) Puts an item to the cache.voidIMemoryCache.waterfal(ICacheElement<K, V> ce) Spools the item contained in the provided element to disk -
Uses of ICacheElement in org.apache.commons.jcs3.engine.memory.fifo
Methods in org.apache.commons.jcs3.engine.memory.fifo with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected MemoryElementDescriptor<K,V> FIFOMemoryCache.adjustListForUpdate(ICacheElement<K, V> ce) Puts an item to the cache. -
Uses of ICacheElement in org.apache.commons.jcs3.engine.memory.lru
Methods in org.apache.commons.jcs3.engine.memory.lru with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected MemoryElementDescriptor<K,V> LRUMemoryCache.adjustListForUpdate(ICacheElement<K, V> ce) Puts an item to the cache.voidLHMLRUMemoryCache.update(ICacheElement<K, V> ce) Puts an item to the cache. -
Uses of ICacheElement in org.apache.commons.jcs3.engine.memory.mru
Methods in org.apache.commons.jcs3.engine.memory.mru with parameters of type ICacheElementModifier and TypeMethodDescriptionprotected MemoryElementDescriptor<K,V> MRUMemoryCache.adjustListForUpdate(ICacheElement<K, V> ce) Adds the item to the front of the list. -
Uses of ICacheElement in org.apache.commons.jcs3.engine.memory.soft
Methods in org.apache.commons.jcs3.engine.memory.soft with parameters of type ICacheElementModifier and TypeMethodDescriptionvoidSoftReferenceMemoryCache.update(ICacheElement<K, V> ce) Puts an item to the cache. -
Uses of ICacheElement in org.apache.commons.jcs3.engine.memory.util
Methods in org.apache.commons.jcs3.engine.memory.util that return ICacheElementModifier and TypeMethodDescriptionMemoryElementDescriptor.getCacheElement()Get the cache elementSoftReferenceElementDescriptor.getCacheElement()Constructors in org.apache.commons.jcs3.engine.memory.util with parameters of type ICacheElementModifierConstructorDescriptionConstructs a usable MemoryElementDescriptor.Constructs a usable MemoryElementDescriptor. -
Uses of ICacheElement in org.apache.commons.jcs3.utils.serialization
Methods in org.apache.commons.jcs3.utils.serialization that return ICacheElementModifier and TypeMethodDescriptionstatic <K,V> ICacheElement<K, V> SerializationConversionUtil.getDeSerializedCacheElement(ICacheElementSerialized<K, V> serialized, IElementSerializer elementSerializer) This returns a wrapper that has a de-serialized version of the value instead of the serialized value.Methods in org.apache.commons.jcs3.utils.serialization with parameters of type ICacheElementModifier and TypeMethodDescriptionstatic <K,V> ICacheElementSerialized<K, V> SerializationConversionUtil.getSerializedCacheElement(ICacheElement<K, V> element, IElementSerializer elementSerializer) This returns a wrapper that has a serialized version of the value instead of the value.