src/main/java/com/stoyanr/evictor/scheduler/RegularTaskEvictionScheduler.java
/**
     * {@inheritDoc}
     * 
     * <p>
     * This implementation checks if the executor has scheduled evictions and
     * the current state of the task is not active, and if so schedules the
     * regular task.
     * </p>
     * 
     * @throws RejectedExecutionException
     *             if the task cannot be scheduled for execution
     */



This implementation checks if the executor has scheduled evictions and
the current state of the task is not active, and if so schedules the
regular task.

@throws RejectedExecutionException
if the task cannot be scheduled for execution
This implementation checks if the executor has scheduled evictions and the current state of the task is not active and if so schedules the regular task . @throws RejectedExecutionException if the task cannot be scheduled for execution
@Override
    protected void onScheduleEviction(EvictibleEntry<K, V> e) {
        if (hasScheduledEvictions() && !this.active) {
            schedule();
        }
    }
@ Override protected void onScheduleEviction ( EvictibleEntry < K , V > e ) { if ( hasScheduledEvictions ( ) && ! this . active ) { schedule ( ) ; } }
{@inheritDoc}
{ @inheritDoc }