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
-2015
Software AG, Darmstadt, Germany
.
|
Feedback