Package org.keycloak.cluster
Interface ManagedCacheManagerProvider
public interface ManagedCacheManagerProvider
A Service Provider Interface (SPI) that allows to plug-in an embedded or remote cache manager instance.
- Author:
- Pedro Igor
-
Method Summary
Modifier and TypeMethodDescription<C> C
getEmbeddedCacheManager
(KeycloakSession keycloakSession, Config.Scope config) <C> C
getRemoteCacheManager
(Config.Scope config)
-
Method Details
-
getEmbeddedCacheManager
-
getRemoteCacheManager
- Returns:
- A RemoteCacheManager if the features
Profile.Feature.CLUSTERLESS
orProfile.Feature.MULTI_SITE
is enabled,null
otherwise.
-