Class HotRodMapStorageProvider
- java.lang.Object
-
- org.keycloak.models.map.storage.hotRod.HotRodMapStorageProvider
-
- All Implemented Interfaces:
MapStorageProvider
,Provider
public class HotRodMapStorageProvider extends Object implements MapStorageProvider
-
-
Constructor Summary
Constructors Constructor Description HotRodMapStorageProvider(KeycloakSession session, HotRodMapStorageProviderFactory factory, boolean jtaEnabled, long lockTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
<V extends AbstractEntity,M>
MapStorage<V,M>getMapStorage(Class<M> modelType, MapStorageProviderFactory.Flag... flags)
Returns a key-value storage implementation for the given types.
-
-
-
Constructor Detail
-
HotRodMapStorageProvider
public HotRodMapStorageProvider(KeycloakSession session, HotRodMapStorageProviderFactory factory, boolean jtaEnabled, long lockTimeout)
-
-
Method Detail
-
getMapStorage
public <V extends AbstractEntity,M> MapStorage<V,M> getMapStorage(Class<M> modelType, MapStorageProviderFactory.Flag... flags)
Description copied from interface:MapStorageProvider
Returns a key-value storage implementation for the given types.- Specified by:
getMapStorage
in interfaceMapStorageProvider
- Type Parameters:
V
- type of the valueM
- type of the corresponding model (e.g.UserModel
)- Parameters:
modelType
- Model typeflags
- Flags of the returned storage. Best effort, flags may be not honored by underlying implementation- Returns:
-
-