pub enum Capped {
Met,
Assumed,
Killed,
Clear,
}Expand description
What a run says about its container’s memory cap (ADR 0070).
Variants§
Met
The container’s own limit failed reclaim: it needed more than the cap.
Assumed
Recorded without the local counter: by the reading before it, a kill or a limit hit in the container, or
without events a peak within AT_CAP percent of the cap. Holds and floors as Met, never raises a cap.
Killed
A process in it was killed for memory while its own limit held: the slice or the host ran out.
Clear
None of those. A peak near the cap with no oom at it is clear: a JVM fills the room it has.
Implementations§
Trait Implementations§
impl Copy for Capped
impl Eq for Capped
impl StructuralPartialEq for Capped
Auto Trait Implementations§
impl Freeze for Capped
impl RefUnwindSafe for Capped
impl Send for Capped
impl Sync for Capped
impl Unpin for Capped
impl UnsafeUnpin for Capped
impl UnwindSafe for Capped
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.