Class ReplaceFunction<K,T extends SessionEntity>

java.lang.Object
org.keycloak.models.sessions.infinispan.changes.ReplaceFunction<K,T>
Type Parameters:
K - The Infinispan key type.
T - The Infinispan value type (Keycloak entity)
All Implemented Interfaces:
BiFunction<K,SessionEntityWrapper<T>,SessionEntityWrapper<T>>

public class ReplaceFunction<K,T extends SessionEntity> extends Object implements BiFunction<K,SessionEntityWrapper<T>,SessionEntityWrapper<T>>
Performs an entity replacement in Infinispan, using its versions instead of equality.