addInvalidationListener(InvalidationListener listener)
Adds a listener, who needs to know when an underlying resource of a given category has changed (so that the
receiver may discard any cached data that may have been invalidated).

addInvalidationListener

Adds a listener, who needs to know when an underlying resource of a given category has changed (so that the
receiver may discard any cached data that may have been invalidated). Does nothing in production mode.