Uses of Interface
org.infinispan.functional.EntryView.ReadEntryView
-
Packages that use EntryView.ReadEntryView Package Description org.infinispan.functional Functional API packageorg.infinispan.marshall.core -
-
Uses of EntryView.ReadEntryView in org.infinispan.functional
Subinterfaces of EntryView.ReadEntryView in org.infinispan.functional Modifier and Type Interface Description static interfaceEntryView.ReadWriteEntryView<K,V>Expose information about a cache entry potentially associated with a key in the functional map, and allows that cache entry to be written with new value and/or new metadata parameters.Methods in org.infinispan.functional that return types with arguments of type EntryView.ReadEntryView Modifier and Type Method Description Traversable<EntryView.ReadEntryView<K,V>>FunctionalMap.ReadOnlyMap. entries()Provides aTraversablethat allows clients to navigate all cached entries.Methods in org.infinispan.functional with parameters of type EntryView.ReadEntryView Modifier and Type Method Description default voidListeners.ReadWriteListeners.ReadWriteListener. onCreate(EntryView.ReadEntryView<K,V> created)Entry created event callback that receives aEntryView.ReadEntryViewof the created entry.default voidListeners.ReadWriteListeners.ReadWriteListener. onModify(EntryView.ReadEntryView<K,V> before, EntryView.ReadEntryView<K,V> after)Entry modify/update event callback that receivesEntryView.ReadEntryViewof the previous entry as first parameter, and theEntryView.ReadEntryViewof the new entry.default voidListeners.ReadWriteListeners.ReadWriteListener. onRemove(EntryView.ReadEntryView<K,V> removed)Entry removed event callback that receives aEntryView.ReadEntryViewof the removed entry.voidListeners.WriteListeners.WriteListener. onWrite(EntryView.ReadEntryView<K,V> write)Entry write event callback that receives aEntryView.ReadEntryViewof the written entry.Method parameters in org.infinispan.functional with type arguments of type EntryView.ReadEntryView Modifier and Type Method Description <R> java.util.concurrent.CompletableFuture<R>FunctionalMap.ReadOnlyMap. eval(K key, java.util.function.Function<EntryView.ReadEntryView<K,V>,R> f)Evaluate a read-only function on the value associated with the key and return aCompletableFuturewith the return type of the function.default <R> java.util.concurrent.CompletableFuture<R>FunctionalMap.ReadOnlyMap. eval(K key, SerializableFunction<EntryView.ReadEntryView<K,V>,R> f)Same asFunctionalMap.ReadOnlyMap.eval(Object, Function)except that the function must also implementSerializable<R> Traversable<R>FunctionalMap.ReadOnlyMap. evalMany(java.util.Set<? extends K> keys, java.util.function.Function<EntryView.ReadEntryView<K,V>,R> f)Evaluate a read-only function on a key and potential value associated in the functional map, for each of the keys in the set passed in, and returns anTraversableto work on each computed function's result.default <R> Traversable<R>FunctionalMap.ReadOnlyMap. evalMany(java.util.Set<? extends K> keys, SerializableFunction<EntryView.ReadEntryView<K,V>,R> f)Same asFunctionalMap.ReadOnlyMap.evalMany(Set, Function)except that the function must also implementSerializablejava.lang.AutoCloseableListeners.ReadWriteListeners. onCreate(java.util.function.Consumer<EntryView.ReadEntryView<K,V>> f)Add a create event specific listener by passing in aConsumerto be called back each time a new cache entry is created, passing in aEntryView.ReadEntryViewof that new entry.java.lang.AutoCloseableListeners.ReadWriteListeners. onModify(java.util.function.BiConsumer<EntryView.ReadEntryView<K,V>,EntryView.ReadEntryView<K,V>> f)Add a modify/update event specific listener by passing in aBiConsumerto be called back each time an entry is modified or updated, passing in aEntryView.ReadEntryViewof the previous entry as first parameter, and aEntryView.ReadEntryViewof the new value as second parameter.java.lang.AutoCloseableListeners.ReadWriteListeners. onModify(java.util.function.BiConsumer<EntryView.ReadEntryView<K,V>,EntryView.ReadEntryView<K,V>> f)Add a modify/update event specific listener by passing in aBiConsumerto be called back each time an entry is modified or updated, passing in aEntryView.ReadEntryViewof the previous entry as first parameter, and aEntryView.ReadEntryViewof the new value as second parameter.java.lang.AutoCloseableListeners.ReadWriteListeners. onRemove(java.util.function.Consumer<EntryView.ReadEntryView<K,V>> f)Add a remove event specific listener by passing in aConsumerto be called back each time an entry is removed, passing in theEntryView.ReadEntryViewof the removed entry.java.lang.AutoCloseableListeners.WriteListeners. onWrite(java.util.function.Consumer<EntryView.ReadEntryView<K,V>> f)Add a write event listener by passing in aConsumerto be called each time a cache entry is created, modified/updated or removed. -
Uses of EntryView.ReadEntryView in org.infinispan.marshall.core
Methods in org.infinispan.marshall.core that return types with arguments of type EntryView.ReadEntryView Modifier and Type Method Description static <K,V>
java.util.function.Function<EntryView.ReadEntryView<K,V>,java.lang.Boolean>MarshallableFunctions. returnReadOnlyFindIsPresent()static <K,V>
java.util.function.Function<EntryView.ReadEntryView<K,V>,V>MarshallableFunctions. returnReadOnlyFindOrNull()
-