public RegionFactory<K, V> setCustomEntryTimeToLive(CustomExpiry<K, V> custom) {
    attrsFactory.setCustomEntryTimeToLive(custom);
    return this;
  }
Sets the custom timeToLive expiration method for the next {@code RegionAttributes} created.

@param custom the custom method
@return the receiver
@see AttributesFactory#setCustomEntryTimeToLive(CustomExpiry)
geode-core/src/main/java/org/apache/geode/cache/RegionFactory.java