public void updateHashForGroup ( final String hash , final String groupName ) { notNull ( groupName ) ; this . currentHash = hash ; if ( isChangedHash ( ) ) { LOG . debug ( "Group {} has changed" , groupName ) ; //remove all persisted groups. Starting over.. groups . clear ( ) ; } }
Updates the hash associated with the resource for a give groupName .