Does JBossCache support eviction policy?
Yes. JBossCache currently implements a LRU eviction policy for both TreeCache (org.jboss.cache.eviction.LRUPolicy) and TreeCacheAop (org.jboss.cache.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.