Is the API purgeExpired() in the AbstractCacheStore used to clean the entries from the persistent data store upon the TTL expiry ?
If we write a custom class loader something like DummyInMemoryCacheStore from the examples, do we need to handle this manually by adding the code in this method ?
What you need to do is extend AbstractCacheStore and provide an impl for purgeInternal() and find an efficient way of purging the data that's expired from the cache store.