Trait mz_persist::cfg::BlobKnobs

source ·
pub trait BlobKnobs:
    Debug
    + Send
    + Sync {
    // Required methods
    fn operation_timeout(&self) -> Duration;
    fn operation_attempt_timeout(&self) -> Duration;
    fn connect_timeout(&self) -> Duration;
    fn read_timeout(&self) -> Duration;
    fn is_cc_active(&self) -> bool;
}
Expand description

Configuration knobs for Blob.

Required Methods§

source

fn operation_timeout(&self) -> Duration

Maximum time allowed for a network call, including retry attempts.

source

fn operation_attempt_timeout(&self) -> Duration

Maximum time allowed for a single network call.

source

fn connect_timeout(&self) -> Duration

Maximum time to wait for a socket connection to be made.

source

fn read_timeout(&self) -> Duration

Maximum time to wait to read the first byte of a response, including connection time.

source

fn is_cc_active(&self) -> bool

Whether this is running in a “cc” sized cluster.

Implementors§