Class RemoveKeyConsumer<K,V>
java.lang.Object
org.keycloak.models.sessions.infinispan.stream.RemoveKeyConsumer<K,V>
- Type Parameters:
K- The type of key stored in the cache.V- The type of the value store in the cache.
- All Implemented Interfaces:
BiConsumer<org.infinispan.Cache<K,V>, K>
@ProtoTypeId(65618)
public class RemoveKeyConsumer<K,V>
extends Object
implements BiConsumer<org.infinispan.Cache<K,V>,K>
Removes keys from a
Cache.
This implementation is best-effortly, meaning if the removal fails, it won't throw any exception.
-
Constructor Details
-
RemoveKeyConsumer
public RemoveKeyConsumer()
-
-
Method Details
-
getInstance
-
accept
- Specified by:
acceptin interfaceBiConsumer<K,V>
-