pub struct FaultToleranceManager { /* private fields */ }
Expand description
Fault tolerance manager
Implementations§
Source§impl FaultToleranceManager
impl FaultToleranceManager
pub fn new(config: &DistributedComputingConfig) -> CoreResult<Self>
Sourcepub fn register_task_for_advancedmonitoring(
&self,
_taskid: &TaskId,
) -> CoreResult<()>
pub fn register_task_for_advancedmonitoring( &self, _taskid: &TaskId, ) -> CoreResult<()>
Register a task for advanced monitoring
Sourcepub fn cancel_task(&self, _taskid: &TaskId) -> CoreResult<()>
pub fn cancel_task(&self, _taskid: &TaskId) -> CoreResult<()>
Set up predictive monitoring for a task
Sourcepub fn enable_fault_prediction(&self, _taskid: &TaskId) -> CoreResult<()>
pub fn enable_fault_prediction(&self, _taskid: &TaskId) -> CoreResult<()>
Enable fault prediction for a task
Sourcepub fn setup_anomaly_detection(&self, _taskid: &TaskId) -> CoreResult<()>
pub fn setup_anomaly_detection(&self, _taskid: &TaskId) -> CoreResult<()>
Setup anomaly detection for a task
Sourcepub fn setup_cascading_failure_prevention(
&self,
_taskid: &TaskId,
) -> CoreResult<()>
pub fn setup_cascading_failure_prevention( &self, _taskid: &TaskId, ) -> CoreResult<()>
Setup cascading failure prevention for a task
Sourcepub fn setup_adaptive_recovery_strategies(
&self,
_taskid: &TaskId,
) -> CoreResult<()>
pub fn setup_adaptive_recovery_strategies( &self, _taskid: &TaskId, ) -> CoreResult<()>
Setup adaptive recovery strategies for a task
Sourcepub fn enable_proactive_checkpoint_creation(
&self,
_taskid: &TaskId,
) -> CoreResult<()>
pub fn enable_proactive_checkpoint_creation( &self, _taskid: &TaskId, ) -> CoreResult<()>
Enable proactive checkpoint creation for a task
Sourcepub fn setup_intelligent_load_balancing(
&self,
_taskid: &TaskId,
) -> CoreResult<()>
pub fn setup_intelligent_load_balancing( &self, _taskid: &TaskId, ) -> CoreResult<()>
Setup intelligent load balancing for a task
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FaultToleranceManager
impl RefUnwindSafe for FaultToleranceManager
impl Send for FaultToleranceManager
impl Sync for FaultToleranceManager
impl Unpin for FaultToleranceManager
impl UnwindSafe for FaultToleranceManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more