code: public final Cache2kBuilder<K, V> expiryPolicy(ExpiryPolicy<K, V> c) {
      config().setExpiryPolicy(wrapCustomizationInstance(c));
      return this;
    }
docs: Set expiry policy to use.
  
  <p>If this is specified the maximum expiry time is still limited to the value in
  {@link #expireAfterWrite}. If {@link #expireAfterWrite(long, java.util.concurrent.TimeUnit)}
  is set to 0 then expiry calculation is not used, all entries expire immediately.
  
  <p>If no maximum expiry is specified via {@link #expireAfterWrite} at least the
  {@link #resilienceDuration} needs to be specified, if resilience should be enabled.