All Known Implementing Classes:
TimedCachePolicy, LRUStatefulContextCachePolicy, LRUPool, NoPassivationCachePolicy, LRUCachePolicy, SynchronizedCachePolicy, TxCache, DistributedTimedCachePolicy, PreparedStatementCache, LRUEnterpriseContextCachePolicy
Implementation classes can implement a LRU policy, a random one, a MRU one, or any other suitable policy.
< - a href="mailto:simone.bordet@compaq.com">Simone Bordet$ - Revision: 1.1 $| Method from org.jboss.util.CachePolicy Summary: |
|---|
| create, destroy, flush, get, insert, peek, remove, size, start, stop |
| Method from org.jboss.util.CachePolicy Detail: |
|---|
|
|
|
Implementations of this method must have complexity of order O(1). Differently from #peek this method not only return whether the object is present in the cache or not, but also applies the implemented policy that will "refresh" the cached object in the cache, because this cached object was really requested. |
Implementations of this method must have complexity of order O(1). |
Implementations of this method must have complexity of order O(1). This method should not apply the implemented caching policy to the object paired with the given key, so that a client can query if an object is cached without "refresh" its cache status. Real requests for the object must be done using #get . |
Implementations of this method must have complexity of order O(1). |
|
|
|