Struct coordtest::CoordTest[][src]

pub struct CoordTest {
    pub(crate) dataflow_client: InterceptingDataflowClient<LocalClient>,
    pub(crate) coord_client: Client,
    pub(crate) _coord_handle: Handle,
    pub(crate) _dataflow_server: Server,
    pub(crate) queued_feedback: Vec<Response>,
    pub(crate) _data_directory: TempDir,
    pub(crate) temp_dir: TempDir,
    pub(crate) uppers: HashMap<GlobalId, Timestamp>,
    pub(crate) timestamp: Arc<Mutex<u64>>,
    pub(crate) verbose: bool,
    pub(crate) persisted_sessions: HashMap<String, (SessionClient, StartupResponse)>,
    pub(crate) deferred_results: HashMap<String, Vec<ExecuteResponse>>,
}
Expand description

CoordTest works by creating a Coordinator with mechanisms to control when it receives messages. The dataflow server is started with a single worker, but it’s feedback channel is controlled by the InterceptingDataflowClient, allowing us to control when uppers and sinces advance.

Fields

dataflow_client: InterceptingDataflowClient<LocalClient>coord_client: Client_coord_handle: Handle_dataflow_server: Serverqueued_feedback: Vec<Response>_data_directory: TempDirtemp_dir: TempDiruppers: HashMap<GlobalId, Timestamp>timestamp: Arc<Mutex<u64>>verbose: boolpersisted_sessions: HashMap<String, (SessionClient, StartupResponse)>deferred_results: HashMap<String, Vec<ExecuteResponse>>

Implementations

Provide a SessionClient to f, but terminate the client after executing f.

Rather than terminating the SessionClient after executing f, store it on self using some name.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more