Interface ExpirationConfiguration<T>
-
public interface ExpirationConfiguration<T>The expiration-related configuration of a bean manager.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoveListener<T>getRemoveListener()Returns the listener to notify of bean removal/expiration.DurationgetTimeout()The duration of time a bean can be idle after which it will expire.
-
-
-
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.
-
-