public class InfinispanKeycloakTransaction extends Object implements KeycloakTransaction
Modifier and Type | Class and Description |
---|---|
static class |
InfinispanKeycloakTransaction.CacheOperation |
static interface |
InfinispanKeycloakTransaction.CacheTask |
class |
InfinispanKeycloakTransaction.CacheTaskWithValue<V> |
Constructor and Description |
---|
InfinispanKeycloakTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
<K,V> V |
get(org.infinispan.Cache<K,V> cache,
K key) |
boolean |
getRollbackOnly() |
boolean |
isActive() |
<K,V> void |
notify(ClusterProvider clusterProvider,
String taskKey,
ClusterEvent event,
boolean ignoreSender) |
<K,V> void |
put(org.infinispan.Cache<K,V> cache,
K key,
V value) |
<K,V> void |
put(org.infinispan.Cache<K,V> cache,
K key,
V value,
long lifespan,
TimeUnit lifespanUnit) |
<K,V> void |
putIfAbsent(org.infinispan.Cache<K,V> cache,
K key,
V value) |
<K,V> void |
remove(org.infinispan.Cache<K,V> cache,
K key) |
<K,V> void |
replace(org.infinispan.Cache<K,V> cache,
K key,
V value) |
void |
rollback() |
void |
setRollbackOnly() |
public void begin()
begin
in interface KeycloakTransaction
public void commit()
commit
in interface KeycloakTransaction
public void rollback()
rollback
in interface KeycloakTransaction
public void setRollbackOnly()
setRollbackOnly
in interface KeycloakTransaction
public boolean getRollbackOnly()
getRollbackOnly
in interface KeycloakTransaction
public boolean isActive()
isActive
in interface KeycloakTransaction
public <K,V> void put(org.infinispan.Cache<K,V> cache, K key, V value)
public <K,V> void put(org.infinispan.Cache<K,V> cache, K key, V value, long lifespan, TimeUnit lifespanUnit)
public <K,V> void putIfAbsent(org.infinispan.Cache<K,V> cache, K key, V value)
public <K,V> void replace(org.infinispan.Cache<K,V> cache, K key, V value)
public <K,V> void notify(ClusterProvider clusterProvider, String taskKey, ClusterEvent event, boolean ignoreSender)
public <K,V> void remove(org.infinispan.Cache<K,V> cache, K key)
public <K,V> V get(org.infinispan.Cache<K,V> cache, K key)
Copyright © 2020 JBoss by Red Hat. All rights reserved.