/// Instantiate a new `CatchUpPackageProvider`
Instantiate a new `CatchUpPackageProvider`
Instantiate a new ` CatchUpPackageProvider `
pub(crate) fn new(
        registry: Arc<RegistryHelper>,
        cup_dir: PathBuf,
        crypto: Arc<dyn CryptoComponentForNonReplicaProcess + Send + Sync>,
        logger: ReplicaLogger,
    ) -> Self {
        Self {
            registry,
            cup_dir,
            client: HttpClient::new(),
            crypto,
            logger,
        }
    }
pub ( crate ) fn new ( registry : Arc < RegistryHelper > , cup_dir : PathBuf , crypto : Arc < dyn CryptoComponentForNonReplicaProcess + Send + Sync > , logger : ReplicaLogger , ) -> Self { Self { registry , cup_dir , client : HttpClient :: new ( ) , crypto , logger , } }
Instantiate a new `CatchUpPackageProvider`
Instantiate a new ` CatchUpPackageProvider `
registry
Arc<RegistryHelper>
cup_dir
PathBuf
crypto
Arc<dyn CryptoComponentForNonReplicaProcess + Send + Sync>
logger
ReplicaLogger