src/main/java/com/stoyanr/evictor/scheduler/SingleThreadEvictionScheduler.java
/**
     * {@inheritDoc}
     * 
     * <p>
     * This implementation checks if the current next eviction time is different
     * from the last next eviction time, and if so notifies the eviction thread,
     * causing it to wake-up and recalculate its waiting time.
     * </p>
     */



This implementation checks if the current next eviction time is different
from the last next eviction time, and if so notifies the eviction thread,
causing it to wake-up and recalculate its waiting time.
This implementation checks if the current next eviction time is different from the last next eviction time and if so notifies the eviction thread causing it to wake - up and recalculate its waiting time .
@Override
    protected void onScheduleEviction(EvictibleEntry<K, V> e) {
        if (getNextEvictionTime() != next) {
            synchronized (mutex) {
                notified = true;
                mutex.notifyAll();
            }
        }
    }
@ Override protected void onScheduleEviction ( EvictibleEntry < K , V > e ) { if ( getNextEvictionTime ( ) != next ) { synchronized ( mutex ) { notified = true ; mutex . notifyAll ( ) ; } } }
{@inheritDoc}
{ @inheritDoc }