Type Definition fluvio_controlplane_metadata::partition::store::PartitionLocalStore
source · [−]pub type PartitionLocalStore<C> = LocalStore<PartitionSpec, C>;
Trait Implementations
sourceimpl<C> PartitionLocalStorePolicy<C> for PartitionLocalStore<C> where
C: MetadataItem + Send + Sync,
impl<C> PartitionLocalStorePolicy<C> for PartitionLocalStore<C> where
C: MetadataItem + Send + Sync,
sourcefn 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,
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,
find all partitions that has spu in the replicas
sourcefn 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,
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,
replica msg for target spu