ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Server.Cache.Types

Description

Metadata retention budgets, source identities, and full fetch values.

Synopsis

Documentation

data StoreBudget Source #

Retention floors, used only to stop a store evicting its own live entries.

Constructors

StoreBudget 

Fields

  • sbMinEntries :: Int

    Eviction stops before the retained entry count falls below this floor.

  • sbMinBytes :: Int

    Eviction stops before accounted bytes fall below this floor.

Instances

Instances details
Show StoreBudget Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Types

Eq StoreBudget Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Types

data CacheConfig Source #

Retention bounds and the TTL for the local selected-version and assembled stores.

Constructors

CacheConfig 

Fields

Instances

Instances details
Show CacheConfig Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Types

Eq CacheConfig Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Types

newtype Source Source #

An upstream base URL partitions entries without carrying credentials.

Constructors

Source Text 

Instances

Instances details
Show Source Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Types

Eq Source Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Types

Methods

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

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

Ord Source Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Types

data CacheEntry Source #

A typed view paired with its source representation and complete fetch digest.

Constructors

CacheEntry 

Fields

Instances

Instances details
Show CacheEntry Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Types

Eq CacheEntry Source # 
Instance details

Defined in Ecluse.Core.Server.Cache.Types