Expiring
pekko.contrib.persistence.mongodb.MongoCollectionCache.Expiring
case class Expiring[C](expireAfterWrite: Duration) extends MongoCollectionCache[C]
Naive implementation of a cache whose entries expire after a period of time. Memory consumption is not bounded.
Type parameters
- C
-
Collection type.
Value parameters
- expireAfterWrite
-
Duration that a cached collection remains valid.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MongoCollectionCache[C]class Objecttrait Matchableclass Any
Members list
In this article