Struct dataflow_types::client::partitioned::PartitionedClientState [−][src]
pub struct PartitionedClientState {
uppers: HashMap<GlobalId, MutableAntichain<Timestamp>>,
peek_responses: HashMap<u32, HashMap<usize, PeekResponse>>,
parts: usize,
}
Expand description
Maintained state for sharded dataflow clients.
This helper type unifies the responses of multiple partitioned workers in order to present as a single worker.
Fields
uppers: HashMap<GlobalId, MutableAntichain<Timestamp>>
Upper frontiers for indexes, sources, and sinks.
peek_responses: HashMap<u32, HashMap<usize, PeekResponse>>
Pending responses for a peek; returnable once all are available.
parts: usize
Number of parts the state machine represents.
Implementations
Instantiates a new client state machine wrapping a number of parts.
Observes commands that move past, and prepares state for responses.
In particular, this method installs and removes upper frontier maintenance.
Auto Trait Implementations
impl RefUnwindSafe for PartitionedClientState
impl Send for PartitionedClientState
impl Sync for PartitionedClientState
impl Unpin for PartitionedClientState
impl UnwindSafe for PartitionedClientState
Blanket Implementations
Mutably borrows from an owned value. Read more
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