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