reset static method

void reset()

Restores the initial state: disabled, detached from JObserver, no metrics and the default maxMetrics.

Implementation

static void reset() {
  disable();
  detachFromObserver();
  clear();
  maxMetrics = defaultMaxMetrics;
}