Class InfinispanKeycloakTransaction

java.lang.Object
org.keycloak.models.sessions.infinispan.InfinispanKeycloakTransaction
All Implemented Interfaces:
KeycloakTransaction

public class InfinispanKeycloakTransaction extends Object implements KeycloakTransaction
Author:
Stian Thorgersen
  • Constructor Details

    • InfinispanKeycloakTransaction

      public InfinispanKeycloakTransaction()
  • Method Details

    • begin

      public void begin()
      Specified by:
      begin in interface KeycloakTransaction
    • commit

      public void commit()
      Specified by:
      commit in interface KeycloakTransaction
    • rollback

      public void rollback()
      Specified by:
      rollback in interface KeycloakTransaction
    • setRollbackOnly

      public void setRollbackOnly()
      Specified by:
      setRollbackOnly in interface KeycloakTransaction
    • getRollbackOnly

      public boolean getRollbackOnly()
      Specified by:
      getRollbackOnly in interface KeycloakTransaction
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface KeycloakTransaction
    • put

      public <K, V> void put(org.infinispan.commons.api.BasicCache<K,V> cache, K key, V value, long lifespan, TimeUnit lifespanUnit)
    • replace

      public <K, V> void replace(org.infinispan.Cache<K,V> cache, K key, V value, long lifespan, TimeUnit lifespanUnit)
    • remove

      public <K, V> void remove(org.infinispan.commons.api.BasicCache<K,V> cache, K key)
    • get

      public <K, V> V get(org.infinispan.commons.api.BasicCache<K,V> cache, K key)