clear method

void clear()

Forgets everything, including the request ids still waiting to settle.

Implementation

void clear() {
  _ring.fillRange(0, capacity, null);
  _byId.clear();
  _cursor = 0;
  _filled = 0;
  _overwritten = 0;
}