docs: protected EvictionChecker createCacheEvictionChecker(int size, MaxSizePolicy maxSizePolicy) {
          if (maxSizePolicy == null) {
              throw new IllegalArgumentException("Max-Size policy cannot be null");
          }
          if (maxSizePolicy == MaxSizePolicy.ENTRY_COUNT) {
              return new EntryCountCacheEvictionChecker(size, records, partitionCount);
          }
          return null;
      }