[−][src]Trait fluvio_controlplane_metadata::partition::store::PartitionLocalStorePolicy
Required methods
#[must_use]pub fn names<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Vec<ReplicaKey>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Vec<ReplicaKey>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn topic_partitions<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = Vec<PartitionMetadata<C>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = Vec<PartitionMetadata<C>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]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]
&'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
#[must_use]pub fn count_topic_partitions<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = i32> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = i32> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn topic_partitions_list<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = Vec<ReplicaKey>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = Vec<ReplicaKey>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn table_fmt<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]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]
&'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
#[must_use]pub fn leaders<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Vec<ReplicaLeader>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Vec<ReplicaLeader>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn bulk_load<S: Into<String>>(partitions: Vec<((S, i32), Vec<i32>)>) -> Self
[src]
Implementors
impl<C> PartitionLocalStorePolicy<C> for PartitionLocalStore<C> where
C: MetadataItem + Send + Sync,
[src]
C: MetadataItem + Send + Sync,
pub fn names<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Vec<ReplicaKey>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Vec<ReplicaKey>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn topic_partitions<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = Vec<PartitionMetadata<C>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = Vec<PartitionMetadata<C>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
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]
&'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
pub fn count_topic_partitions<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = i32> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = i32> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
pub fn topic_partitions_list<'life0, 'life1, 'async_trait>(
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = Vec<ReplicaKey>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
topic: &'life1 str
) -> Pin<Box<dyn Future<Output = Vec<ReplicaKey>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
pub fn table_fmt<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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]
&'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
pub fn leaders<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Vec<ReplicaLeader>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Vec<ReplicaLeader>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,