@Override
    @CanIgnoreReturnValue
    public ScriptResourceCacheManager<String, ExecutableCompiledScript> put(
        final String key, final ExecutableCompiledScript value) {
        return lock.tryLock(() -> {
            this.cache.put(key, value);
            return this;
        });
    }
This is {@link GroovyScriptResourceCacheManager}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-scripting/src/main/java/org/apereo/cas/util/scripting/GroovyScriptResourceCacheManager.java