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 ©
2010
-2017
Software AG, Darmstadt, Germany
.
(Innovation Release)
|
Feedback