Class IndexOfFunction<K,V>

java.lang.Object
org.infinispan.multimap.impl.function.list.IndexOfFunction<K,V>
All Implemented Interfaces:
Serializable, Function<org.infinispan.functional.EntryView.ReadWriteEntryView<K,ListBucket<V>>,Collection<Long>>, ListBucketBaseFunction<K,V,Collection<Long>>, org.infinispan.util.function.SerializableFunction<org.infinispan.functional.EntryView.ReadWriteEntryView<K,ListBucket<V>>,Collection<Long>>

public final class IndexOfFunction<K,V> extends Object implements ListBucketBaseFunction<K,V,Collection<Long>>
Serializable function used by EmbeddedMultimapListCache.indexOf(Object, Object, Long, Long, Long) to retrieve the index at the head or the tail of the multimap list value.
Since:
15.0
Author:
Katia Aresti
See Also:
  • Field Details

    • EXTERNALIZER

      public static final org.infinispan.commons.marshall.AdvancedExternalizer<IndexOfFunction> EXTERNALIZER
  • Constructor Details

    • IndexOfFunction

      public IndexOfFunction(V element, long count, long rank, long maxLen)
  • Method Details