private String getCacheKeyName(final String pluginName, final InternalTenantContext internalContext) {
        final StringBuilder tenantKey = new StringBuilder(TenantKey.PLUGIN_PAYMENT_STATE_MACHINE_.toString());
        tenantKey.append(pluginName);
        tenantKey.append(CacheControllerDispatcher.CACHE_KEY_SEPARATOR);
        tenantKey.append(internalContext.getTenantRecordId());
        return tenantKey.toString();
    }
private String getCacheKeyName ( final String pluginName , final InternalTenantContext internalContext ) { final StringBuilder tenantKey = new StringBuilder ( TenantKey . PLUGIN_PAYMENT_STATE_MACHINE_ . toString ( ) ) ; tenantKey . append ( pluginName ) ; tenantKey . append ( CacheControllerDispatcher . CACHE_KEY_SEPARATOR ) ; tenantKey . append ( internalContext . getTenantRecordId ( ) ) ; return tenantKey . toString ( ) ; }
See also DefaultTenantUserApi - we use the same conventions as the main XML cache (so we can re-use the invalidation code)