[][src]Struct arcon::prelude::lookup::gc::ActorRefReaper

pub struct ActorRefReaper { /* fields omitted */ }

Reaps deallocated actor references from the underlying lookup table.

Methods

impl ActorRefReaper[src]

pub fn new(
    initial_interval: u64,
    min: u64,
    max: u64,
    incr: u64,
    decr: u64,
    algo: FeedbackAlgorithm
) -> ActorRefReaper
[src]

pub fn run<T>(&self, table: &ArcSwapAny<Arc<T>, Global>) -> usize where
    T: ActorLookup
[src]

Walks through all stored ActorRef entries and removes the ones which have been deallocated, returning the # of removed instances.

pub fn strategy(&self) -> &UpdateStrategy[src]

pub fn strategy_mut(&mut self) -> &mut UpdateStrategy[src]

pub fn schedule(&mut self)[src]

pub fn is_scheduled(&self) -> bool[src]

Trait Implementations

impl Default for ActorRefReaper[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Deserialisable<T> for T[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]