Product Documentation
:
Ehcache Developer Guide
:
Cache Event Listeners
:
Adding a Listener Programmatically
Adding a Listener Programmatically
To add a listener programmatically, follow this example:
cache.getCacheEventNotificationService().registerListener(myListener);
Copyright ©
2014
Software AG, Darmstadt, Germany
.
|
Feedback