Does JBoss Cache support eviction policies?
Yes. JBoss Cache currently implements a LRU eviction policy for both TreeCache ( org.jboss.cache.eviction.LRUPolicy ) and PojoCache ( org.jboss.cache.aop.eviction.AopLRUPolicy ). Users can also plug in their own eviction policy algorithms. See user manual for details. Currently there is user-contributed policy called FIFOPolicy that evicts the node based on FIFO principle only.