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§
sourcefn operation_timeout(&self) -> Duration
fn operation_timeout(&self) -> Duration
Maximum time allowed for a network call, including retry attempts.
sourcefn operation_attempt_timeout(&self) -> Duration
fn operation_attempt_timeout(&self) -> Duration
Maximum time allowed for a single network call.
sourcefn connect_timeout(&self) -> Duration
fn connect_timeout(&self) -> Duration
Maximum time to wait for a socket connection to be made.
sourcefn read_timeout(&self) -> Duration
fn read_timeout(&self) -> Duration
Maximum time to wait to read the first byte of a response, including connection time.
sourcefn is_cc_active(&self) -> bool
fn is_cc_active(&self) -> bool
Whether this is running in a “cc” sized cluster.