Example #1
0
        /// <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";
        }
Example #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="hsmArchive">The HsmArchive to work with.</param>
 public HsmStudyArchive(HsmArchive hsmArchive)
 {
     _hsmArchive = hsmArchive;
 }
Example #3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="hsmArchive">The HsmArchive to work with.</param>
 public HsmStudyRestore(HsmArchive hsmArchive)
 {
     _hsmArchive = hsmArchive;
 }