Struct garage_table::replication::TableFullReplication [−][src]
Expand description
Full replication schema: all nodes store everything Writes are disseminated in an epidemic manner in the network Advantage: do all reads locally, extremely fast Inconvenient: only suitable to reasonably small tables
Fields
system: Arc<System>
The membership manager of this node
max_faults: usize
Max number of faults allowed while replicating a record
Trait Implementations
impl Clone for TableFullReplication
[src]
impl Clone for TableFullReplication
[src]fn clone(&self) -> TableFullReplication
[src]
fn clone(&self) -> TableFullReplication
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl TableReplication for TableFullReplication
[src]
impl TableReplication for TableFullReplication
[src]fn read_nodes(&self, _hash: &Hash) -> Vec<Uuid>
[src]
fn read_nodes(&self, _hash: &Hash) -> Vec<Uuid>
[src]Which nodes to send read requests to
fn read_quorum(&self) -> usize
[src]
fn read_quorum(&self) -> usize
[src]Responses needed to consider a read succesfull
fn write_nodes(&self, _hash: &Hash) -> Vec<Uuid>
[src]
fn write_nodes(&self, _hash: &Hash) -> Vec<Uuid>
[src]Which nodes to send writes to
fn write_quorum(&self) -> usize
[src]
fn write_quorum(&self) -> usize
[src]Responses needed to consider a write succesfull
fn max_write_errors(&self) -> usize
[src]
fn partition_of(&self, _hash: &Hash) -> Partition
[src]
fn partition_of(&self, _hash: &Hash) -> Partition
[src]Get partition for data with given hash
Auto Trait Implementations
impl !RefUnwindSafe for TableFullReplication
impl Send for TableFullReplication
impl Sync for TableFullReplication
impl Unpin for TableFullReplication
impl !UnwindSafe for TableFullReplication
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,