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