pub struct GridManager { /* private fields */ }Expand description
그리드 중앙 제어기 (Thin Dispatcher)
네트워크 채널로부터 오는 메시지를 분류하여 도메인별 핸들러로 배달합니다.
Implementations§
Source§impl GridManager
impl GridManager
pub fn new( quic_channel: Arc<QuicChannel>, ec_store: Arc<DistributedErasureCodingStore>, receiver: Receiver<GridMessageWrapper>, ) -> Self
pub fn with_node_id( quic_channel: Arc<QuicChannel>, ec_store: Arc<DistributedErasureCodingStore>, receiver: Receiver<GridMessageWrapper>, node_id: u32, ) -> Self
Sourcepub fn with_local_executor(self, executor: Arc<LocalExecutor>) -> Self
pub fn with_local_executor(self, executor: Arc<LocalExecutor>) -> Self
워커 노드 로컬 실행기 설정
pub fn get_query_streams( &self, ) -> Arc<DashMap<(String, usize), Sender<DbxResult<Option<Vec<u8>>>>>>
pub fn get_stage_barriers( &self, ) -> Arc<DashMap<(String, usize, SocketAddr), Sender<()>>>
Auto Trait Implementations§
impl Freeze for GridManager
impl !RefUnwindSafe for GridManager
impl Send for GridManager
impl Sync for GridManager
impl Unpin for GridManager
impl UnsafeUnpin for GridManager
impl !UnwindSafe for GridManager
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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