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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.infinispan.commons.marshall.AdvancedExternalizer<ReplaceFunction>
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ReplaceFunction
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<K,
SessionEntityWrapper<T extends SessionEntity>, SessionEntityWrapper<T extends SessionEntity>>
-