@Override
    public ExecutableCompiledScript get(final String key) {
        return lock.tryLock(() -> cache.getIfPresent(key));
    }
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