[−][src]Struct arcon::prelude::lookup::gc::ActorRefReaper
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]
initial_interval: u64,
min: u64,
max: u64,
incr: u64,
decr: u64,
algo: FeedbackAlgorithm
) -> ActorRefReaper
pub fn run<T>(&self, table: &ArcSwapAny<Arc<T>, Global>) -> usize where
T: ActorLookup,
[src]
T: ActorLookup,
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]
fn default() -> ActorRefReaper
[src]
Auto Trait Implementations
impl Send for ActorRefReaper
impl Unpin for ActorRefReaper
impl Sync for ActorRefReaper
impl UnwindSafe for ActorRefReaper
impl RefUnwindSafe for ActorRefReaper
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> Deserialisable<T> for T
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,