Interface ExpirationConfiguration<T>


  • public interface ExpirationConfiguration<T>
    The expiration-related configuration of a bean manager.
    Author:
    Paul Ferraro
    • Method Detail

      • getTimeout

        Duration getTimeout()
        The duration of time a bean can be idle after which it will expire.
        Returns:
        a time duration
      • getRemoveListener

        RemoveListener<T> getRemoveListener()
        Returns the listener to notify of bean removal/expiration.
        Returns:
        an event listener.