Skip to content

Add expirationType to ExpirationListener#53

Open
erdalbitik wants to merge 2 commits intojhalterman:masterfrom
erdalbitik:master
Open

Add expirationType to ExpirationListener#53
erdalbitik wants to merge 2 commits intojhalterman:masterfrom
erdalbitik:master

Conversation

@erdalbitik
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant