[][src]Type Definition fluvio_controlplane_metadata::partition::store::PartitionLocalStore

type PartitionLocalStore<C> = LocalStore<PartitionSpec, C>;

Trait Implementations

impl<C> PartitionLocalStorePolicy<C> for PartitionLocalStore<C> where
    C: MetadataItem + Send + Sync
[src]

pub fn partition_spec_for_spu<'life0, 'async_trait>(
    &'life0 self,
    target_spu: i32
) -> Pin<Box<dyn Future<Output = Vec<(ReplicaKey, PartitionSpec)>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

find all partitions that has spu in the replicas

pub fn replica_for_spu<'life0, 'async_trait>(
    &'life0 self,
    target_spu: SpuId
) -> Pin<Box<dyn Future<Output = Vec<Replica>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

replica msg for target spu