object ResolverCache
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ResolverCache
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type CurrentTime = FiniteDuration
- type Lookup[A] = Either[LookupFailureMap, A]
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 getItem[F[_], A, K](ttl: Option[TTL], c: LruMap[F, K, CacheEntry[Lookup[A]]], key: K)(implicit arg0: Monad[F], arg1: Clock[F]): F[Option[Lookup[A]]]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def init[F[_]](size: Int, ttl: Option[TTL])(implicit arg0: Monad[F], C: CreateResolverCache[F]): F[Option[ResolverCache[F]]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def putItem[F[_], A, K](c: LruMap[F, K, CacheEntry[Lookup[A]]], schemaKey: K, freshResult: Lookup[A])(implicit arg0: Monad[F], arg1: Clock[F]): F[Lookup[A]]
Caches and returns the given schema.
Caches and returns the given schema. If new value is a failure, but cached is success - return cached value in order to avoid invalidating entity due registry outage If new value is a failure, but cached is success - update TTL in order to avoid flooding poorly behaving registry Also responsible for combining failures
- schemaKey
iglu URI that has been requested
- freshResult
response from registries, either failure details or schema
- returns
the same result or cached one if it was more appropriate
- 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