Client Activity Events
This feature is only available in the NCache Enterprise.
NCache provides users with the ability to enable Client Activity Events. Using these events, each client that connects to a clustered cache, and 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 reconnects 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. The events must be enabled before use.
This does not apply to the clients that manually dispose and reinitialize themselves.
Using the NCache Management Center
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251on Windows and 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.