pub struct ExecutorServices {
pub worker_pool: Arc<WorkerPool>,
pub checkpoint_coalescer: Arc<CheckpointCoalescer>,
pub dlq: Arc<DlqSink>,
pub retention_reclaimer: Arc<RetentionReclaimer>,
}Expand description
Shared runtime services for handler delivery.
Fields§
§worker_pool: Arc<WorkerPool>Bounded handler concurrency pool.
checkpoint_coalescer: Arc<CheckpointCoalescer>Coalesced checkpoint writer.
dlq: Arc<DlqSink>Dead-letter sink for failed deliveries.
retention_reclaimer: Arc<RetentionReclaimer>Storage retention reclaim coordinator.
Implementations§
Source§impl ExecutorServices
impl ExecutorServices
Sourcepub fn new(
port: Arc<dyn StoragePort>,
policy: RetentionPolicy,
hook: Option<Arc<dyn RetentionHook>>,
) -> Self
pub fn new( port: Arc<dyn StoragePort>, policy: RetentionPolicy, hook: Option<Arc<dyn RetentionHook>>, ) -> Self
Construct delivery services bound to the storage port.
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutorServices
impl !UnwindSafe for ExecutorServices
impl Freeze for ExecutorServices
impl Send for ExecutorServices
impl Sync for ExecutorServices
impl Unpin for ExecutorServices
impl UnsafeUnpin for ExecutorServices
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