private Iterator<T> scanEventsStateful() { LOG.debug("Scan events, eviction policy {}", evictionPolicy); evictionPolicy.reset(); Iterator<T> it = new Iterator<T>() { private Iterator<Event<T>> inner = queue.iterator();
private Iterator<T> scanEventsStateful() { LOG.debug("Scan events, eviction policy {}", evictionPolicy); evictionPolicy.reset(); Iterator<T> it = new Iterator<T>() { private Iterator<Event<T>> inner = queue.iterator();