public void clear ( String layerName ) { synchronized ( this ) { log . info ( "clearing cache for layer " + layerName ) ; for ( String key : cache . keySet ( ) ) { if ( key . contains ( layerName ) ) remove ( key ) ; } } }
TOOD improve this