pub struct BigTableUploadService {
thread: JoinHandle<()>,
}
Fields§
§thread: JoinHandle<()>
Implementations§
source§impl BigTableUploadService
impl BigTableUploadService
pub fn new( runtime: Arc<Runtime>, bigtable_ledger_storage: LedgerStorage, blockstore: Arc<Blockstore>, block_commitment_cache: Arc<RwLock<BlockCommitmentCache>>, max_complete_transaction_status_slot: Arc<AtomicU64>, max_complete_rewards_slot: Arc<AtomicU64>, exit: Arc<AtomicBool> ) -> Self
pub fn new_with_config( runtime: Arc<Runtime>, bigtable_ledger_storage: LedgerStorage, blockstore: Arc<Blockstore>, block_commitment_cache: Arc<RwLock<BlockCommitmentCache>>, max_complete_transaction_status_slot: Arc<AtomicU64>, max_complete_rewards_slot: Arc<AtomicU64>, config: ConfirmedBlockUploadConfig, exit: Arc<AtomicBool> ) -> Self
fn run( runtime: Arc<Runtime>, bigtable_ledger_storage: LedgerStorage, blockstore: Arc<Blockstore>, block_commitment_cache: Arc<RwLock<BlockCommitmentCache>>, max_complete_transaction_status_slot: Arc<AtomicU64>, max_complete_rewards_slot: Arc<AtomicU64>, config: ConfirmedBlockUploadConfig, exit: Arc<AtomicBool> )
pub fn join(self) -> Result<()>
Auto Trait Implementations§
impl !RefUnwindSafe for BigTableUploadService
impl Send for BigTableUploadService
impl Sync for BigTableUploadService
impl Unpin for BigTableUploadService
impl !UnwindSafe for BigTableUploadService
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request