ehcache

Package net.sf.ehcache.constructs.blocking

Doug Lea in his book Concurrent Programming in Java talks about concurrency support constructs.

See:
          Description

Interface Summary
CacheEntryFactory Creates objects to populate the cache.
UpdatingCacheEntryFactory A CacheEntryFactory with one additional method, updateEntryValue((Serializable key, Serializable value) which allows the cache entry to updated rather than replaced.
 

Class Summary
BlockingCache A blocking decorator for an Ehcache, backed by a Ehcache.
BlockingCacheOperationOutcomes The Class BlockingCacheOperationOutcomes.
SelfPopulatingCache A selfpopulating decorator for Ehcache that creates entries on demand.
UpdatingSelfPopulatingCache A Cache backed cache that creates entries on demand.
 

Enum Summary
BlockingCacheOperationOutcomes.GetOutcome The operation outcome for BlockingCache gets
 

Exception Summary
LockTimeoutException Indicates that a timeout has occured while attempting to obtain a lock using ReadWriteLockSync.tryLock(net.sf.ehcache.concurrent.LockType, long)

This is a normal runtime exception which should be handled by calling code.

 

Package net.sf.ehcache.constructs.blocking Description

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.


ehcache

Copyright 2001-2014, Terracotta, Inc.