@Override
  protected synchronized boolean checkLocked() {
    int ttlCount = getMinutesToLive() * 60 / SERVICE_DELAY;
    if (ttlCount >= 0 && ++myCheckCount > ttlCount) {
      return super.checkLocked();
    }
    return true;
  }
@Override
  protected synchronized boolean checkLocked()