Packages

package caching

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class CachingMappingRetriever[T <: AnyRef] extends Serializable with ContextLogging

    A wrapper for the Retriever class, that applies a mapping function on the retrieved payloads and caches the resulting values.

    A wrapper for the Retriever class, that applies a mapping function on the retrieved payloads and caches the resulting values.

    T

    The type of the decoded payload, after applying the mapping function.

    Note

    A CachingMappingRetriever can be only created from the Spark driver. If a CachingMappingRetriever is created from inside a Spark worker node, an exception is thrown.

  2. class CachingRetriever extends Retriever

    Wraps a retriever and caches the payloads.

    Wraps a retriever and caches the payloads.

    Note

    Payloads retrieved as stream are not cached. Moreover statistics when retrieving as stream are updated only in case the stream is closed.

Value Members

  1. object CachingMappingRetriever extends Serializable
  2. object CachingRetriever extends Serializable

Ungrouped