autoPurge method

bool autoPurge()

Runs purge automatically if the threshold is exceeded.

Implementation

bool autoPurge() {
  if (_autoPurge && isAutoPurgeRequired()) {
    purge();
    return true;
  }
  return false;
}