public void invalidate ( Key ... keys ) { for ( Key key : keys ) { logger . debug ( "Invalidating the response cache key : {} {} {} {}, {}" , key . getEntityType ( ) , key . getName ( ) , key . getVersion ( ) , key . getType ( ) , key . getEurekaAccept ( ) ) ; readWriteCacheMap . invalidate ( key ) ; Collection < Key > keysWithRegions = regionSpecificKeys . get ( key ) ; if ( null != keysWithRegions && ! keysWithRegions . isEmpty ( ) ) { for ( Key keysWithRegion : keysWithRegions ) { logger . debug ( "Invalidating the response cache key : {} {} {} {} {}" , key . getEntityType ( ) , key . getName ( ) , key . getVersion ( ) , key . getType ( ) , key . getEurekaAccept ( ) ) ; readWriteCacheMap . invalidate ( keysWithRegion ) ; } } } }
Invalidate the cache information given the list of keys .