docs: private void cleanupIfNeccessary(JsonGetterContext excluded) {
          int cacheCount;
          while ((cacheCount = internalCache.size()) > maxContexts) {
              int sampleCount = Math.max(cacheCount - maxContexts, cleanupRemoveAtLeastItems) + 1;
              for (SamplingEntry sample: internalCache.getRandomSamples(sampleCount)) {
                  if (excluded != sample.getEntryValue()) {
                      internalCache.remove(sample.getEntryKey());
                  }
              }
          }
      }