/// <summary> /// Constructor. /// </summary> /// <param name="name">The name of the service.</param> /// <param name="hsmArchive">The <see cref="HsmArchive"/> for which to do restores. </param> public HsmRestoreService(string name, HsmArchive hsmArchive) : base(name) { _hsmArchive = hsmArchive; _threadPool = new ItemProcessingThreadPool <RestoreQueue>(HsmSettings.Default.RestoreThreadCount); _threadPool.ThreadPoolName = "HsmRestore Pool"; }
/// <summary> /// Constructor. /// </summary> /// <param name="hsmArchive">The HsmArchive to work with.</param> public HsmStudyArchive(HsmArchive hsmArchive) { _hsmArchive = hsmArchive; }
/// <summary> /// Constructor. /// </summary> /// <param name="hsmArchive">The HsmArchive to work with.</param> public HsmStudyRestore(HsmArchive hsmArchive) { _hsmArchive = hsmArchive; }