[Dev] Can we Expire Cache based on the cache size.

2015-01-28 Thread Danesh Kuruppu
Hi all, As per my knowledge, In javax.cache, we have cache expiry policies based on time(AccessedExpiryPolicy, ModifiedExpiryPolicy) where we can specify time for expire the cache entry. Is there anyway of specifying cache size for cache expiration as JCache eviction [1]. 1.

Re: [Dev] Can we Expire Cache based on the cache size.

2015-01-28 Thread Harsha Thirimanna
Hi Danesh, It is there setCapacity within CacheImpl , but not published in Cache interface. @Azeez, Is there any specific reason to not publishing this method ? *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * http://www.apache.org/* *email: **hars...@wso2.com*