docs: static void checkEvictionConfig(InMemoryFormat inMemoryFormat, EvictionConfig evictionConfig) {
          if (inMemoryFormat == NATIVE) {
              MaxSizePolicy maxSizePolicy = evictionConfig.getMaximumSizePolicy();
              if (maxSizePolicy == MaxSizePolicy.ENTRY_COUNT) {
                  throw new IllegalArgumentException("Invalid max-size policy "
                          + '(' + maxSizePolicy + ") for NATIVE in-memory format! Only "
                          + MaxSizePolicy.USED_NATIVE_MEMORY_SIZE + ", "
                          + MaxSizePolicy.USED_NATIVE_MEMORY_PERCENTAGE + ", "
                          + MaxSizePolicy.FREE_NATIVE_MEMORY_SIZE + ", "
                          + MaxSizePolicy.FREE_NATIVE_MEMORY_PERCENTAGE
                          + " are supported.");
              }
          }
      }