Class LockedStreamImpl.CacheEntryFunction<K,V,R>
java.lang.Object
org.infinispan.stream.impl.LockedStreamImpl.CacheEntryFunction<K,V,R>
- All Implemented Interfaces:
Function<CacheEntry<K,
V>, Stream<KeyValuePair<K, R>>>
- Enclosing class:
LockedStreamImpl<K,
V>
@ProtoTypeId(1181)
public static class LockedStreamImpl.CacheEntryFunction<K,V,R>
extends Object
implements Function<CacheEntry<K,V>, Stream<KeyValuePair<K,R>>>
- Since:
- 9.0
- Author:
- wburns
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LockManager
protected final Predicate
<? super CacheEntry<K, V>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CacheEntryFunction
(BiFunction<Cache<K, V>, ? super CacheEntry<K, V>, R> biFunction, Predicate<? super CacheEntry<K, V>> predicate) -
Method Summary
Modifier and TypeMethodDescriptionprotected KeyValuePair
<K, R> actualPerform
(Cache<K, V> cache, CacheEntry<K, V> entry) Stream
<KeyValuePair<K, R>> apply
(CacheEntry<K, V> kvCacheEntry)
-
Field Details
-
cache
-
predicate
-
lockManager
-
-
Constructor Details
-
CacheEntryFunction
protected CacheEntryFunction(BiFunction<Cache<K, V>, ? super CacheEntry<K, V>, R> biFunction, Predicate<? super CacheEntry<K, V>> predicate)
-
-
Method Details
-
apply
-
actualPerform
-