Interface ExpirationConfiguration.ExpirationPolicyConfigurer

All Known Implementing Classes:
ExpirationConfiguration.ComposableExpirationPolicyConfigurer, ExpirationConfiguration.ExpirationPolicyMetaData
Enclosing class:
ExpirationConfiguration
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface ExpirationConfiguration.ExpirationPolicyConfigurer
Interface defining a contract for implementations that configure a Region's expiration policy.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    configure(Object regionBean)
    Configures the expiration policy for the given Region.
    default Region<?,?>
    configure(Region<?,?> region)
    Configures the expiration policy for the given Region.
  • Method Details

    • configure

      Object configure(Object regionBean)
      Configures the expiration policy for the given Region.
      Parameters:
      regionBean - Region object who's expiration policy will be configured.
      Returns:
      the given Region object.
      See Also:
    • configure

      default Region<?,?> configure(Region<?,?> region)
      Configures the expiration policy for the given Region.
      Parameters:
      region - Region who's expiration policy will be configured.
      Returns:
      the given Region.
      See Also: