allegro / allegro/bigcache

Callback function for LifeWindow

未關閉
#164 14 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Go
星號
8.2k
分支
614
平均合併
5 天 12 小時
30 天內合併 PR
1

描述

Hi,

I have a requirement, that when an entry is marked for eviction (LifeWindow) I want to call a callback function before it gets evicted (essentially CleanWindow). Was looking at the config object and found out that callbacks are only supported for evictions.

Can you please share details on whether this can be supported or not?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。