Interface ImmutableSessionAccessMetaData
-
- All Known Subinterfaces:
SessionAccessMetaData
- All Known Implementing Classes:
MutableSessionAccessMetaData,SimpleSessionAccessMetaData
public interface ImmutableSessionAccessMetaDataImmutable view of the volatile aspects of a session's meta-data.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DurationgetLastAccessDuration()Returns the duration of time between the start and of the last access.DurationgetSinceCreationDuration()Returns the duration of time between session creation and the start of the last access.
-
-
-
Method Detail
-
getSinceCreationDuration
Duration getSinceCreationDuration()
Returns the duration of time between session creation and the start of the last access.- Returns:
- the duration of time between session creation and the start of the last access.
-
getLastAccessDuration
Duration getLastAccessDuration()
Returns the duration of time between the start and of the last access.- Returns:
- the duration of time between the start and of the last access.
-
-