Uses of Interface
org.infinispan.functional.EntryView.ReadEntryView
Packages that use EntryView.ReadEntryView
Package
Description
Commands that operate on the cache, either locally or remotely.
Functional API package
-
Uses of EntryView.ReadEntryView in org.infinispan.commands
Method parameters in org.infinispan.commands with type arguments of type EntryView.ReadEntryViewModifier and TypeMethodDescription<K,V, R> org.infinispan.commands.functional.ReadOnlyKeyCommand<K, V, R> CommandsFactory.buildReadOnlyKeyCommand(Object key, Function<EntryView.ReadEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, R> org.infinispan.commands.functional.ReadOnlyKeyCommand<K, V, R> CommandsFactoryImpl.buildReadOnlyKeyCommand(Object key, Function<EntryView.ReadEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, R> org.infinispan.commands.functional.ReadOnlyManyCommand<K, V, R> CommandsFactory.buildReadOnlyManyCommand(Collection<?> keys, Function<EntryView.ReadEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, R> org.infinispan.commands.functional.ReadOnlyManyCommand<K, V, R> CommandsFactoryImpl.buildReadOnlyManyCommand(Collection<?> keys, Function<EntryView.ReadEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, R> org.infinispan.commands.functional.TxReadOnlyKeyCommand<K, V, R> CommandsFactory.buildTxReadOnlyKeyCommand(Object key, Function<EntryView.ReadEntryView<K, V>, R> f, List<org.infinispan.commands.functional.Mutation<K, V, ?>> mutations, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, R> org.infinispan.commands.functional.TxReadOnlyKeyCommand<K, V, R> CommandsFactoryImpl.buildTxReadOnlyKeyCommand(Object key, Function<EntryView.ReadEntryView<K, V>, R> f, List<org.infinispan.commands.functional.Mutation<K, V, ?>> mutations, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) -
Uses of EntryView.ReadEntryView in org.infinispan.functional
Subinterfaces of EntryView.ReadEntryView in org.infinispan.functionalModifier and TypeInterfaceDescriptionstatic interfaceExpose 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.ReadEntryViewModifier and TypeMethodDescriptionFunctionalMap.ReadOnlyMap.entries()Provides aTraversablethat allows clients to navigate all cached entries.Methods in org.infinispan.functional with parameters of type EntryView.ReadEntryViewModifier and TypeMethodDescriptiondefault 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.ReadEntryViewModifier and TypeMethodDescription<R> CompletableFuture<R>Evaluate a read-only function on the value associated with the key and return aCompletableFuturewith the return type of the function.default <R> 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(Set<? extends K> keys, 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(Set<? extends K> keys, SerializableFunction<EntryView.ReadEntryView<K, V>, R> f) Same asFunctionalMap.ReadOnlyMap.evalMany(Set, Function)except that the function must also implementSerializableListeners.ReadWriteListeners.onCreate(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.Listeners.ReadWriteListeners.onModify(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.Listeners.ReadWriteListeners.onModify(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.Listeners.ReadWriteListeners.onRemove(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.Listeners.WriteListeners.onWrite(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.functional.impl
Subinterfaces of EntryView.ReadEntryView in org.infinispan.functional.implMethods in org.infinispan.functional.impl that return EntryView.ReadEntryViewModifier and TypeMethodDescriptionstatic <K,V> EntryView.ReadEntryView<K, V> static <K,V> EntryView.ReadEntryView<K, V> EntryViews.noValue(Object key, DataConversion keyDataConversion) static <K,V> EntryView.ReadEntryView<K, V> static <K,V> EntryView.ReadEntryView<K, V> EntryViews.readOnly(CacheEntry entry) static <K,V> EntryView.ReadEntryView<K, V> EntryViews.readOnly(CacheEntry<K, V> entry, DataConversion keyDataConversion, DataConversion valueDataConversion) Methods in org.infinispan.functional.impl that return types with arguments of type EntryView.ReadEntryViewMethods in org.infinispan.functional.impl with parameters of type EntryView.ReadEntryViewModifier and TypeMethodDescriptionvoidFunctionalNotifier.notifyOnRemove(EntryView.ReadEntryView<K, V> removed) Notify registeredListeners.ReadWriteListeners.ReadWriteListenerinstances of the removed entry passing in the removed entry.voidFunctionalNotifierImpl.notifyOnRemove(EntryView.ReadEntryView<K, V> removed) Method parameters in org.infinispan.functional.impl with type arguments of type EntryView.ReadEntryViewModifier and TypeMethodDescription<R> CompletableFuture<R><R> Traversable<R>FunctionalNotifierImpl.onCreate(Consumer<EntryView.ReadEntryView<K, V>> f) FunctionalNotifierImpl.onModify(BiConsumer<EntryView.ReadEntryView<K, V>, EntryView.ReadEntryView<K, V>> f) FunctionalNotifierImpl.onModify(BiConsumer<EntryView.ReadEntryView<K, V>, EntryView.ReadEntryView<K, V>> f) FunctionalNotifierImpl.onRemove(Consumer<EntryView.ReadEntryView<K, V>> f) FunctionalNotifierImpl.onWrite(Consumer<EntryView.ReadEntryView<K, V>> f) -
Uses of EntryView.ReadEntryView in org.infinispan.marshall.core
Methods in org.infinispan.marshall.core that return types with arguments of type EntryView.ReadEntryViewModifier and TypeMethodDescriptionstatic <K,V> Function<EntryView.ReadEntryView<K, V>, Boolean> MarshallableFunctions.returnReadOnlyFindIsPresent()static <K,V> Function<EntryView.ReadEntryView<K, V>, V> MarshallableFunctions.returnReadOnlyFindOrNull()