Interface ExpirationConfiguration<T>
- Type Parameters:
T- the expired object type
- All Superinterfaces:
Expiration
Encapsulates expiration configuration.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionorg.wildfly.clustering.function.Consumer<T> The listener to notify of expiration events.Methods inherited from interface Expiration
getMaxIdle
-
Method Details
-
getExpirationListener
org.wildfly.clustering.function.Consumer<T> getExpirationListener()The listener to notify of expiration events.- Returns:
- the listener to invoke when an object expires.
-