| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Server.Admission.Types
Description
Admission outcomes, per-ecosystem charges and memory observations shared by the gates, adapters, sampler and boot-time memory plan.
Synopsis
- data Shed
- data ChargeFactors = ChargeFactors {}
- data FlightKey = FlightKey CacheStore ShortByteString
- data MeterSnapshot = MeterSnapshot {
- snBudgetBytes :: Int
- snChargedBytes :: Int
- snWaiting :: Int
- snPaused :: Int
- snBrakeLevel :: BrakeLevel
- data BrakeLevel
- brakeLevelCode :: BrakeLevel -> Int
- data BrakeBounds = BrakeBounds {}
Refusals
Why a gate turned a request away.
Constructors
| RoomFull | Its waiting room was full when the request arrived. |
| WaitExpired | The request waited in the room, and the room's wait ran out first. |
Instances
Charges
data ChargeFactors Source #
Live heap bytes charged per byte of a read or an output basis, in thousandths, for one ecosystem.
Constructors
| ChargeFactors | |
Fields
| |
Instances
| Show ChargeFactors Source # | |
Defined in Ecluse.Core.Server.Admission.Types Methods showsPrec :: Int -> ChargeFactors -> ShowS # show :: ChargeFactors -> String # showList :: [ChargeFactors] -> ShowS # | |
| Eq ChargeFactors Source # | |
Defined in Ecluse.Core.Server.Admission.Types Methods (==) :: ChargeFactors -> ChargeFactors -> Bool # (/=) :: ChargeFactors -> ChargeFactors -> Bool # | |
One unit of shared work that requests may wait on, a fetch or a render: its store and its cache key's identity.
Constructors
| FlightKey CacheStore ShortByteString |
Instances
| Show FlightKey Source # | |
| Eq FlightKey Source # | |
| Ord FlightKey Source # | |
Defined in Ecluse.Core.Server.Admission.Types | |
The meter's figures
data MeterSnapshot Source #
What the meter holds and who waits on it, for the gauges and the sampler.
Constructors
| MeterSnapshot | |
Fields
| |
Instances
| Show MeterSnapshot Source # | |
Defined in Ecluse.Core.Server.Admission.Types Methods showsPrec :: Int -> MeterSnapshot -> ShowS # show :: MeterSnapshot -> String # showList :: [MeterSnapshot] -> ShowS # | |
| Eq MeterSnapshot Source # | |
Defined in Ecluse.Core.Server.Admission.Types Methods (==) :: MeterSnapshot -> MeterSnapshot -> Bool # (/=) :: MeterSnapshot -> MeterSnapshot -> Bool # | |
The brake
data BrakeLevel Source #
Where the brake stands after a sample.
Constructors
| Calm | The collector is calm: the budget may grow. |
| Holding | Neither calm nor pressed: the budget holds. |
| Braking | Pressure seen in this sample: the budget halved, or holds while a halving settles. |
Instances
| Show BrakeLevel Source # | |
Defined in Ecluse.Core.Server.Admission.Types Methods showsPrec :: Int -> BrakeLevel -> ShowS # show :: BrakeLevel -> String # showList :: [BrakeLevel] -> ShowS # | |
| Eq BrakeLevel Source # | |
Defined in Ecluse.Core.Server.Admission.Types | |
brakeLevelCode :: BrakeLevel -> Int Source #
The gauge value of a level: 0 calm, 1 holding, 2 braking.
data BrakeBounds Source #
What the boot fixed for this process.
Constructors
| BrakeBounds | |
Fields
| |
Instances
| Show BrakeBounds Source # | |
Defined in Ecluse.Core.Server.Admission.Types Methods showsPrec :: Int -> BrakeBounds -> ShowS # show :: BrakeBounds -> String # showList :: [BrakeBounds] -> ShowS # | |
| Eq BrakeBounds Source # | |
Defined in Ecluse.Core.Server.Admission.Types | |