驱逐有缓存通知吗? [英] Are there any cache notifications for eviction?

查看:71
本文介绍了驱逐有缓存通知吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望在项目中发生对象驱逐时收到通知。

We want to be notified when object eviction happens in our project.

我读取缓存通知(Windows Server AppFabric缓存)(http://msdn.microsoft.com/en-us/library/ee808091.aspx )但没有看到与之关联的通知物品驱逐。

I read Cache Notifications (Windows Server AppFabric Caching) (http://msdn.microsoft.com/en-us/library/ee808091.aspx) but don't see an notification associated with object eviction.

我们可以通过任何方式了解物体驱逐何时发生?

Any way we can get to know when object eviction happens?

 

谢谢,

推荐答案

被驱逐的对象被视为"已删除"和删除通知被引发,但没有办法区分用户启动的删除或逐出启动删除操作。

Object which are evicted are considered 'deleted' and a delete notification is raised, but there is no way to differentiate between user initiated delete or eviction initiated delete operation.


这篇关于驱逐有缓存通知吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆