public synchronized boolean addChangeListener ( ChangeListener listener ) { if ( bEnableListener && listener != null ) { eventSource . addListener ( listener ) ; if ( tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "addChangeListener() cacheName=" + this . cacheName + " listener=" + eventSource . getChangeListenerCount ( ) ) ; } return true ; } return false ; }
This is a helper method to add change listener to all entries .