public void invalidateCache(ScriptCachingContext sctx) throws ScriptException { synchronized (lock0) { CachingContext ctx = getCachingContext(sctx); if (ctx == null) { return; } TenantWrapper tenant = tenants.get(ctx.getTenantId()); tenant.removeCachingContext(sctx); } }