Struct tikv::server::service::KvService [−][src]
Service handles the RPC messages for the Tikv
service.
Fields
store_id: u64
gc_worker: GcWorker<E, T>
Used to handle requests related to GC.
storage: Storage<E, L>
copr: Endpoint<E>
copr_v2: Endpoint
ch: T
snap_scheduler: Scheduler<SnapTask>
enable_req_batch: bool
grpc_thread_load: Arc<ThreadLoad>
proxy: Proxy
Implementations
impl<T: RaftStoreRouter<RocksEngine> + 'static, E: Engine, L: LockManager> Service<T, E, L>
[src][−]
pub fn new(
store_id: u64,
storage: Storage<E, L>,
gc_worker: GcWorker<E, T>,
copr: Endpoint<E>,
copr_v2: Endpoint,
ch: T,
snap_scheduler: Scheduler<SnapTask>,
grpc_thread_load: Arc<ThreadLoad>,
enable_req_batch: bool,
proxy: Proxy
) -> Self
[src][−]
store_id: u64,
storage: Storage<E, L>,
gc_worker: GcWorker<E, T>,
copr: Endpoint<E>,
copr_v2: Endpoint,
ch: T,
snap_scheduler: Scheduler<SnapTask>,
grpc_thread_load: Arc<ThreadLoad>,
enable_req_batch: bool,
proxy: Proxy
) -> Self
Constructs a new Service
which provides the Tikv
service.
Trait Implementations
impl<T: RaftStoreRouter<RocksEngine> + Clone + 'static, E: Engine + Clone, L: LockManager + Clone> Clone for Service<T, E, L>
[src][+]
impl<T: RaftStoreRouter<RocksEngine> + 'static, E: Engine, L: LockManager> Tikv for Service<T, E, L>
[src][+]
Auto Trait Implementations
impl<T, E, L> !RefUnwindSafe for Service<T, E, L>
impl<T, E, L> Send for Service<T, E, L>
impl<T, E, L> Sync for Service<T, E, L> where
E: Sync,
L: Sync,
T: Sync,
E: Sync,
L: Sync,
T: Sync,
impl<T, E, L> Unpin for Service<T, E, L> where
E: Unpin,
T: Unpin,
E: Unpin,
T: Unpin,
impl<T, E, L> !UnwindSafe for Service<T, E, L>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<V, W> ConvertFrom<W> for V where
W: ConvertTo<V>,
[src][+]
W: ConvertTo<V>,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Pointable for T
[src][+]
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,