@Override public void reset() { synchronized (circularBuffer) { reset = true; super.reset(); circularBuffer.notifyAll(); } }