/// Write the changes in Arc<AtomicU64>.
Write the changes in Arc.
Write the changes in Arc .
pub(crate) fn store(&self, storage: Arc<AtomicU64>) {
        let actors_count_mask = ActorGroupStats::actors_count_mask();
        let average_mailbox_size_mask = ActorGroupStats::average_mailbox_size_mask();
        let mut value: u64 = 0;
        value |= (self.average_mailbox_size() as u64) & average_mailbox_size_mask;
        value |= ((self.actors_count() as u64) << 32) & actors_count_mask;
        storage.store(value, Ordering::SeqCst);
    }
pub ( crate ) fn store ( & self , storage : Arc < AtomicU64 > ) { let actors_count_mask = ActorGroupStats :: actors_count_mask ( ) ; let average_mailbox_size_mask = ActorGroupStats :: average_mailbox_size_mask ( ) ; let mut value : u64 = 0 ; value |= ( self . average_mailbox_size ( ) as u64 ) & average_mailbox_size_mask ; value |= ( ( self . actors_count ( ) as u64 ) << 32 ) & actors_count_mask ; storage . store ( value , Ordering :: SeqCst ) ; }
Write the changes in Arc<AtomicU64>.
Write the changes in Arc<AtomicU64 > .
&self
storage
Arc<AtomicU64>