Jump to content


Notifications on a group of objects


  • Please log in to reply
1 reply to this topic

#1 Guest_fpdave100_*

Guest_fpdave100_*
  • Guests

Posted 04 August 2011 - 07:09 AM

I'm just getting started learning about ncache, so please excuse any stupid questions

The API seems to have methods to specify notifications for individual keys or for all keys, but is there anyway to be notified of just additions on a group?

#2 Ron

Ron

    Professional

  • Admin
  • PipPip
  • 21 posts
  • Gender:Male
  • Location:San Ramon

Posted 27 August 2013 - 06:07 AM

NCache notifications are key based (all item keys, selected items) and user generated events.

 

There is no explicit group based notification but you can achieve this by first getting all group keys using Cache.GetGroupKeys("Group", "Subgroup") method and then register notifications for these keys using selective key notifications.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users