mil.dod.th.ose.shared/src/mil/dod/th/ose/shared/AutoExpireHashMap.java
private void startExecutor()
    {
        if (!m_ExpiringQueue.isEmpty() && m_Executor == null)
        {
            m_Executor = Executors.newScheduledThreadPool(1);
            m_Executor.scheduleWithFixedDelay(() -> checkDelayQueue(), 0, m_CheckExpireTimeMillis,
                    TimeUnit.MILLISECONDS);
        }
    }
/**
     * Starts the background executor (if not already started) used to monitor for expired entries.
     */
Starts the background executor (if not already started) used to monitor for expired entries.
Starts the background executor ( if not already started ) used to monitor for expired entries .
private void startExecutor()
    {
        if (!m_ExpiringQueue.isEmpty() && m_Executor == null)
        {
            m_Executor = Executors.newScheduledThreadPool(1);
            m_Executor.scheduleWithFixedDelay(() -> checkDelayQueue(), 0, m_CheckExpireTimeMillis,
                    TimeUnit.MILLISECONDS);
        }
    }
private void startExecutor ( ) { if ( ! m_ExpiringQueue . isEmpty ( ) && m_Executor == null ) { m_Executor = Executors . newScheduledThreadPool ( 1 ) ; m_Executor . scheduleWithFixedDelay ( ( ) -> checkDelayQueue ( ) , 0 , m_CheckExpireTimeMillis , TimeUnit . MILLISECONDS ) ; } }
Starts the background executor (if not already started) used to monitor for expired entries.
Starts the background executor ( if not already started ) used to monitor for expired entries .