object MemoryCacheSnapshot extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MemoryCacheSnapshot
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait CacheProcessor extends AnyRef
An action taken every time a cache is built.
Value Members
- 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
- lazy val defaultCacheProcessor: CacheProcessor
- 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