pub struct DistributedExecutionManager { /* private fields */ }
Expand description
分散実行マネージャー
Implementations§
Source§impl DistributedExecutionManager
impl DistributedExecutionManager
pub fn new(local_node_id: String, load_balancer: Arc<dyn LoadBalancer>) -> Self
Sourcepub fn coordinator(&self) -> &Arc<DistributedCoordinator>
pub fn coordinator(&self) -> &Arc<DistributedCoordinator>
分散コーディネーターを取得
Sourcepub async fn submit_execution(
&self,
execution_id: WorkflowExecutionId,
) -> Result<String, WorkflowError>
pub async fn submit_execution( &self, execution_id: WorkflowExecutionId, ) -> Result<String, WorkflowError>
ワークフロー実行を分散キューに投入
Sourcepub async fn register_local_node(&self, capacity: usize)
pub async fn register_local_node(&self, capacity: usize)
ローカルノードの情報を登録
Sourcepub fn start_cleanup_task(&self) -> JoinHandle<()>
pub fn start_cleanup_task(&self) -> JoinHandle<()>
バックグラウンドでデッドノードクリーンアップを実行
Auto Trait Implementations§
impl Freeze for DistributedExecutionManager
impl !RefUnwindSafe for DistributedExecutionManager
impl Send for DistributedExecutionManager
impl Sync for DistributedExecutionManager
impl Unpin for DistributedExecutionManager
impl !UnwindSafe for DistributedExecutionManager
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