Class InfinispanKeycloakTransaction.CacheTaskWithValue<V>

java.lang.Object
org.keycloak.models.sessions.infinispan.InfinispanKeycloakTransaction.CacheTaskWithValue<V>
All Implemented Interfaces:
InfinispanKeycloakTransaction.CacheTask
Enclosing class:
InfinispanKeycloakTransaction

public abstract static class InfinispanKeycloakTransaction.CacheTaskWithValue<V> extends Object implements InfinispanKeycloakTransaction.CacheTask
  • Field Details

    • value

      protected V value
    • lifespan

      protected long lifespan
    • lifespanUnit

      protected TimeUnit lifespanUnit
  • Constructor Details

    • CacheTaskWithValue

      public CacheTaskWithValue(V value, long lifespan, TimeUnit lifespanUnit)
  • Method Details

    • getValue

      public V getValue()
    • setValue

      public void setValue(V value)
    • updateLifespan

      public void updateLifespan(long lifespan, TimeUnit lifespanUnit)