/** * Hides the public constructor.<p> * * @param securityManager needed for scheduling "undercover-jobs" * that increase stability and fault tolerance */ protected CmsThreadStore(CmsSecurityManager securityManager) { super(new ThreadGroup("OpenCms Thread Store"), "OpenCms: Grim Reaper"); setDaemon(true); // Hashtable is still the most efficient form of a synchronized HashMap m_threads = new Hashtable<CmsUUID, A_CmsReportThread>(); m_alive = true; m_securityManager = securityManager; start(); }
/** * Hides the public constructor.<p> * * @param securityManager needed for scheduling "undercover-jobs" * that increase stability and fault tolerance */ protected CmsThreadStore(CmsSecurityManager securityManager) { super(new ThreadGroup("OpenCms Thread Store"), "OpenCms: Grim Reaper"); setDaemon(true); // Hashtable is still the most efficient form of a synchronized HashMap m_threads = new Hashtable(); m_alive = true; m_securityManager = securityManager; start(); }