Package net.sf.ehcache.constructs.blocking
Doug Lea in his book Concurrent Programming in Java talks about concurrency support constructs.
One meaning of a construct is "an abstract or general idea inferred or derived from specific instances".
Just like patterns emerge from noting the similarities of problems and gradually finding a solution to
classes of them, so to constructs are general solutions to commond problems. With the constructs package,
concrete, extensible implementations are offered to solve these common problems.
-
Interface Summary Interface Description CacheEntryFactory Creates objects to populate the cache.UpdatingCacheEntryFactory ACacheEntryFactorywith one additional method,updateEntryValue((Serializable key, Serializable value)which allows the cache entry to updated rather than replaced. -
Class Summary Class Description BlockingCache A blocking decorator for an Ehcache, backed by aEhcache.BlockingCacheOperationOutcomes The Class BlockingCacheOperationOutcomes.SelfPopulatingCache A selfpopulating decorator forEhcachethat creates entries on demand.UpdatingSelfPopulatingCache ACachebacked cache that creates entries on demand. -
Enum Summary Enum Description BlockingCacheOperationOutcomes.GetOutcome The operation outcome forBlockingCachegets -
Exception Summary Exception Description LockTimeoutException Indicates that a timeout has occured while attempting to obtain a lock usingReadWriteLockSync.tryLock(net.sf.ehcache.concurrent.LockType, long)