ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Server.Cache.Backend.Internal

Description

Retention handles and their storage capability classification.

Synopsis

Documentation

data RetentionBackend k v Source #

Backend-owned storage, independent of request coalescing and admission.

Constructors

RetentionBackend 

Fields

data RetentionOperations k v Source #

Typed storage operations. Recency is advisory and occupancy reporting is optional. Adapters may report charged bytes and entry counts. These do not measure process or remote heap size.

Constructors

RetentionOperations 

Fields

data BackendStorage Source #

Local storage cannot retain full metadata, regardless of its capacity.

Constructors

LocalStorage 
ExternalStorage Int

External operation deadline, in microseconds, capped by the handle.

data Recency Source #

Whether a probe contributes to eviction recency.

Instances

Instances details
Show Recency Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Backend.Internal

Eq Recency Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Backend.Internal

Methods

(==) :: Recency -> Recency -> Bool #

(/=) :: Recency -> Recency -> Bool #

data CacheOccupancy Source #

Entry count and summed accounted bytes after a store mutation.

Constructors

CacheOccupancy 

Fields