- Type Parameters:
V- The session entity to apply the function
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function definition used for the lifespan and idle calculations for the infinispan session entities. The method receives the realm, client if needed (it's optional) and the entity. It returns the timestamp for the entity (lifespan, idle timeout,...) in milliseconds.