Class SingleUseObjectHotRodMapStorage<K,E extends AbstractHotRodEntity,V extends HotRodEntityDelegate<E> & AbstractEntity,M>
- java.lang.Object
-
- org.keycloak.models.map.storage.hotRod.HotRodMapStorage<String,HotRodSingleUseObjectEntity,HotRodSingleUseObjectEntityDelegate,org.keycloak.models.ActionTokenValueModel>
-
- org.keycloak.models.map.storage.hotRod.SingleUseObjectHotRodMapStorage<K,E,V,M>
-
- All Implemented Interfaces:
ConcurrentHashMapCrudOperations<HotRodSingleUseObjectEntityDelegate,org.keycloak.models.ActionTokenValueModel>,MapStorage<HotRodSingleUseObjectEntityDelegate,org.keycloak.models.ActionTokenValueModel>
public class SingleUseObjectHotRodMapStorage<K,E extends AbstractHotRodEntity,V extends HotRodEntityDelegate<E> & AbstractEntity,M> extends HotRodMapStorage<String,HotRodSingleUseObjectEntity,HotRodSingleUseObjectEntityDelegate,org.keycloak.models.ActionTokenValueModel>
- Author:
- Martin Kanis
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.hotRod.HotRodMapStorage
isExpirableEntity
-
-
Constructor Summary
Constructors Constructor Description SingleUseObjectHotRodMapStorage(org.infinispan.client.hotrod.RemoteCache<String,HotRodSingleUseObjectEntity> remoteCache, StringKeyConverter<String> keyConverter, HotRodEntityDescriptor<HotRodSingleUseObjectEntity,HotRodSingleUseObjectEntityDelegate> storedEntityDescriptor, DeepCloner cloner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HotRodSingleUseObjectEntityDelegatecreate(HotRodSingleUseObjectEntityDelegate value)protected MapKeycloakTransaction<HotRodSingleUseObjectEntityDelegate,org.keycloak.models.ActionTokenValueModel>createTransactionInternal(org.keycloak.models.KeycloakSession session)Stream<HotRodSingleUseObjectEntityDelegate>read(QueryParameters<org.keycloak.models.ActionTokenValueModel> queryParameters)-
Methods inherited from class org.keycloak.models.map.storage.hotRod.HotRodMapStorage
createCriteriaBuilder, createTransaction, delete, delete, getCount, read, update
-
-
-
-
Constructor Detail
-
SingleUseObjectHotRodMapStorage
public SingleUseObjectHotRodMapStorage(org.infinispan.client.hotrod.RemoteCache<String,HotRodSingleUseObjectEntity> remoteCache, StringKeyConverter<String> keyConverter, HotRodEntityDescriptor<HotRodSingleUseObjectEntity,HotRodSingleUseObjectEntityDelegate> storedEntityDescriptor, DeepCloner cloner)
-
-
Method Detail
-
createTransactionInternal
protected MapKeycloakTransaction<HotRodSingleUseObjectEntityDelegate,org.keycloak.models.ActionTokenValueModel> createTransactionInternal(org.keycloak.models.KeycloakSession session)
- Overrides:
createTransactionInternalin classHotRodMapStorage<String,HotRodSingleUseObjectEntity,HotRodSingleUseObjectEntityDelegate,org.keycloak.models.ActionTokenValueModel>
-
create
public HotRodSingleUseObjectEntityDelegate create(HotRodSingleUseObjectEntityDelegate value)
- Specified by:
createin interfaceConcurrentHashMapCrudOperations<K,E extends AbstractHotRodEntity>- Overrides:
createin classHotRodMapStorage<String,HotRodSingleUseObjectEntity,HotRodSingleUseObjectEntityDelegate,org.keycloak.models.ActionTokenValueModel>
-
read
public Stream<HotRodSingleUseObjectEntityDelegate> read(QueryParameters<org.keycloak.models.ActionTokenValueModel> queryParameters)
- Specified by:
readin interfaceConcurrentHashMapCrudOperations<K,E extends AbstractHotRodEntity>- Overrides:
readin classHotRodMapStorage<String,HotRodSingleUseObjectEntity,HotRodSingleUseObjectEntityDelegate,org.keycloak.models.ActionTokenValueModel>
-
-