As I mentioned in this issue, sometimes it is required to know why expiration is performed. ExpirationListener.expired() method is called due to two reasons. The first one is time based expiration for an entry and the second one is when entry size > maxSize. I just added expiration type to ExpirationListener.
As I mentioned in this issue, sometimes it is required to know why expiration is performed. ExpirationListener.expired() method is called due to two reasons. The first one is time based expiration for an entry and the second one is when entry size > maxSize. I just added expiration type to ExpirationListener.