mil.dod.th.ose.shared/src/mil/dod/th/ose/shared/AutoExpireHashMap.java
private void stopExecutor() throws InterruptedException
    {
        if (m_ExpiringQueue.isEmpty() && m_Executor != null && !m_Executor.isShutdown())
        {
            m_Executor.shutdown();
            try
            {
                m_Executor.awaitTermination(2, TimeUnit.SECONDS);
            }
            finally
            {
                m_Executor = null;
            }
        }
    }
/**
     * Stops the background executor if it is currently running and the delay queue is empty.
     * @throws InterruptedException 
     *      if timeout occurs waiting for executor to shutdown
     */
Stops the background executor if it is currently running and the delay queue is empty.
@throws InterruptedException
if timeout occurs waiting for executor to shutdown
Stops the background executor if it is currently running and the delay queue is empty . @throws InterruptedException if timeout occurs waiting for executor to shutdown
private void stopExecutor() throws InterruptedException
    {
        if (m_ExpiringQueue.isEmpty() && m_Executor != null && !m_Executor.isShutdown())
        {
            m_Executor.shutdown();
            try
            {
                m_Executor.awaitTermination(2, TimeUnit.SECONDS);
            }
            finally
            {
                m_Executor = null;
            }
        }
    }
private void stopExecutor ( ) throws InterruptedException { if ( m_ExpiringQueue . isEmpty ( ) && m_Executor != null && ! m_Executor . isShutdown ( ) ) { m_Executor . shutdown ( ) ; try { m_Executor . awaitTermination ( 2 , TimeUnit . SECONDS ) ; } finally { m_Executor = null ; } } }
Stops the background executor if it is currently running and the delay queue is empty.
Stops the background executor if it is currently running and the delay queue is empty .