Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PreloadRequest<K, V>

PreloadRequest is a simple EntryProcessor that performs a get call. No results are reported back to the caller.

The PreloadRequest process provides a means to "pre-load" an entry or a collection of entries into the cache using the cache loader without incurring the cost of sending the value(s) over the network. If the corresponding entry (or entries) already exists in the cache, or if the cache does not have a loader, then invoking this EntryProcessor has no effect.

Type parameters

  • K = any

  • V = any

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

@class

@class: string

Methods

andThen

when

  • Returns a ConditionalProcessor comprised of this processor and the provided filter.

    The specified entry processor gets invoked if and only if the filter applied to the entry evaluates to true; otherwise the result of the invocation will return null.

    Parameters

    Returns EntryProcessor<K, V, void>