ExpertTier

Trait ExpertTier 

Source
pub trait ExpertTier: Send {
    // Required methods
    fn fetch(
        &mut self,
        key: ExpertKey,
        slot: ArenaSlot,
        stream: u64,
    ) -> Result<ExpertResidency>;
    fn kind(&self) -> TierKind;

    // Provided method
    fn healthy(&self) -> bool { ... }
}
Expand description

Fetch an expert record into a slot; return the addresses to patch.

Required Methods§

Source

fn fetch( &mut self, key: ExpertKey, slot: ArenaSlot, stream: u64, ) -> Result<ExpertResidency>

Source

fn kind(&self) -> TierKind

Provided Methods§

Source

fn healthy(&self) -> bool

Graceful-degradation probe (RDMA link health at Stage 4). Default: up.

Implementors§