Interface UpdaterFactory<K,V,T extends Updater<K,V>>   
- Type Parameters:
- K- The Infinispan key type.
- V- The Infinispan value type.
- T- The- Updaterconcrete type.
- All Known Implementing Classes:
- RemoteInfinispanAuthenticationSessionProviderFactory,- RemoteUserLoginFailureProviderFactory
public interface UpdaterFactory<K,V,T extends Updater<K,V>>   
A factory interface that creates, wraps or deletes entities.
- 
Method SummaryModifier and TypeMethodDescriptionCreates anUpdaterfor an entity created by the current Keycloak transaction.Deletes a entity that was not previous read by the Keycloak transaction.default TwrapFromCache(K key, org.infinispan.client.hotrod.MetadataValue<V> entity) Wraps an entity read from the Infinispan cache.wrapFromCache(K key, V value, long version) Wraps an entity read from the Infinispan cache.
- 
Method Details- 
createCreates anUpdaterfor an entity created by the current Keycloak transaction.- Parameters:
- key- The Infinispan key.
- entity- The Infinispan value.
- Returns:
- The Updaterto be used when updating the entity state.
 
- 
wrapFromCacheWraps an entity read from the Infinispan cache.- Parameters:
- key- The Infinispan key.
- entity- The Infinispan value.
- Returns:
- The Updaterto be used when updating the entity state.
 
- 
wrapFromCacheWraps an entity read from the Infinispan cache.- Parameters:
- key- The Infinispan key.
- value- The Infinispan value.
- version- The entry version.
- Returns:
- The Updaterto be used when updating the entity state.
 
- 
deletedDeletes a entity that was not previous read by the Keycloak transaction.- Parameters:
- key- The Infinispan key.
- Returns:
- The Updaterfor a deleted entity.
 
 
-