implicit class PrefetcherLookupHelper[K, N, V] extends AnyRef
Implicit class for easing lookups in prefetchers that contain nested maps.
- K
outer key type
- N
nested key type
- V
value type
- Alphabetic
- By Inheritance
- PrefetcherLookupHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PrefetcherLookupHelper(a: PrefetchingSupplier[Map[K, Map[N, V]]])
- a
the instance to do the lookup on
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getMap(k: K): IO[NotFound, Map[N, V]]
Lookup a map within a pre-fetched map.
Lookup a map within a pre-fetched map.
- k
the (outer) key for the (inner) map to be returned
- returns
a map contained in the pre-fetched map.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nestedLookup(nestedKey: N)(implicit outerKey: K): IO[NotFound, V]
Lookup a key in a (nested) map within a pre-fetched map
Lookup a key in a (nested) map within a pre-fetched map
- nestedKey
the key within the nested map for which to fetch the mapped value
- outerKey
the key to access the nested map
- returns
the nested value after an outerKey -> nestedKey lookup.
- def nestedLookups(nestedKeys: Set[N])(implicit outerKey: K): IO[NotFound, Map[N, V]]
Lookup a set of keyy in a (nested) map within a pre-fetched map
Lookup a set of keyy in a (nested) map within a pre-fetched map
- nestedKeys
the keys within the nested map for which to fetch the mapped values
- outerKey
the key to access the nested map
- returns
the nested values after an outerKey -> nestedKeys lookups.
- Note
will return a failure if any of the passed keys does not exist in the nested map
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated