Attributes
- Companion:
- class
- Source:
- MemoryCache.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- MemoryCache.type
Members list
Type members
Classlikes
Attributes
- Source:
- MemoryCache.scala
- Graph
- Supertypes
Value members
Concrete methods
Cache construction is Synchronous
Cache construction is Synchronous
Otherwise a copy paste of [[#ofSingleImmutableMap() ofSingleImmutableMap]]
Attributes
- Source:
- MemoryCache.scala
Initiates a background process that checks for expirations every certain amount of time.
Initiates a background process that checks for expirations every certain amount of time.
Attributes
- checkOnExpirationsEvery:
How often the expiration process should check for expired keys.
- memoryCache:
The cache to check and expire automatically.
- Returns:
an
Resource[F, Unit]
that will keep removing expired entries in the background.- Source:
- MemoryCache.scala
Attributes
- Source:
- MemoryCache.scala
Attributes
- Source:
- MemoryCache.scala
Attributes
- Source:
- MemoryCache.scala
Create a new cache with a default expiration value for newly added cache items.
Create a new cache with a default expiration value for newly added cache items.
Items that are added to the cache without an explicit expiration value (using insert) will be inserted with the default expiration value.
If the specified default expiration value is None, items inserted by insert will never expire.
Attributes
- Source:
- MemoryCache.scala