object MemoryCacheSnapshot extends Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MemoryCacheSnapshot
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait CacheProcessor extends AnyRef

    An action taken every time a cache is built.

Value Members

  1. def cleanGarbage(keepMessagesFor: FiniteDuration, keepTypedFor: FiniteDuration, minMessagesPerChannel: Int, minMessages: Int, alwaysKeep: Set[MessageId]): CacheProcessor

    A cache processor that will clean out typical garbage older that a given time.

    A cache processor that will clean out typical garbage older that a given time.

    keepMessagesFor

    How long messages should be kept for

    keepTypedFor

    How long typed notifications should be kept for

    minMessagesPerChannel

    Amount of messages to always keep in the cache for each channel

    minMessages

    Amount of messages to always keep in the cache

    alwaysKeep

    A set of messages that should never be removed from the cache

  2. lazy val defaultCacheProcessor: CacheProcessor
  3. def everyN(every: Int, remaining: Int, doAction: CacheProcessor): CacheProcessor

    A cache processor that will execute another processor every N cache updates.

    A cache processor that will execute another processor every N cache updates.

    every

    How often the processor will run

    remaining

    How many updates until the processor is run