docs: private boolean switchAndCheckAbort() {
      if (Thread.holdsLock(cache.lock)) {
        return switchCheckAndAbortLocked();
      }
      return cache.executeWithGlobalLock(new Job<Boolean>() {
        @Override
        public Boolean call() {
          return switchCheckAndAbortLocked();
        }
      });
    }