public synchronized boolean removePreInvalidationListener ( PreInvalidationListener listener ) { if ( bEnableListener && listener != null ) { eventSource . removeListener ( listener ) ; return true ; } return false ; }
This is a helper method to remove pre - invalidation listener for all entries .