@ Override public GroovyRunner remove ( Object key ) { if ( key == null ) { return null ; } Map < String , GroovyRunner > map = getMap ( ) ; writeLock . lock ( ) ; try { cachedValues = null ; return map . remove ( key ) ; } finally { writeLock . unlock ( ) ; } }
Removes a registered runner from the registry .