Cache Level Events
NCache event notifications let you design applications that react to various cache events. Events are fired upon addition, update and removal of an object. These notifications are disabled by default to save precious CPU and network resources. However they can be enabled using the configuration files.
You can manually edit config.ncconf and client.ncconf located at %NCHOME%/config. %NCHOME% is NCache install directory. These files can be edited through any text editor of your choice.
In case you want to update any cache settings please refer to the Update Cache Config section to follow the set of steps.
Specify cache-level notifications through config.ncconf file located at %NCHOME%\config.
%NCHOME% is NCache install directory. In config.ncconf of EACH server specify the
<cache-notifications> tag under the
In the example given below cache notifications are set true for item removed, item added and item updated.
<cache-config> <cache-settings ...> <cache-notifications item-remove="True" item-add="True" item-update="True" /> </cache-settings> </cache-config>
Repeat this step for all server nodes.