Cache Activity Events
This feature is only available in NCache Enterprise Edition.
NCache provides the feature of enabling Client Activity Events. Using these events, each client that is connected to a clustered cache can subscribe to be notified about the connect/disconnect events of other clients.
You can also specify the Retention Period, which is the time after which a disconnected client is actually considered disconnected, and its disconnect event is fired. If a client re-connects within the retention period, its disconnect event is not fired.
This is to compensate for the accidental disconnects occurring due to buggy networks, since the NCache client automatically reconnects in such networks without disrupting the client operations. Note that this does not apply to the clients that manually dispose and reinitialize themselves.
The events must be enabled before use.
Using NCache Web Manager
Launch NCache Web Manager by browsing to
<server-ip>:8251(Windows + Linux).
In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache to configure.
Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache. Go to the Advanced Settings tab and click on Options in the left bar.
Under Client Activity Notifications, check the Enable Client Activity Notifications check box.
- Click on Save Changes to apply this configuration to the cache.