public class RecordableInactiveSessionStatistics extends Object implements InactiveSessionStatistics, org.wildfly.clustering.ee.Recordable<ImmutableSession>
| Constructor and Description |
|---|
RecordableInactiveSessionStatistics() |
| Modifier and Type | Method and Description |
|---|---|
long |
getExpiredSessionCount() |
Duration |
getMaxSessionLifetime() |
Duration |
getMeanSessionLifetime() |
void |
record(ImmutableSession session) |
void |
reset() |
public void record(ImmutableSession session)
record in interface org.wildfly.clustering.ee.Recordable<ImmutableSession>public Duration getMeanSessionLifetime()
getMeanSessionLifetime in interface InactiveSessionStatisticspublic Duration getMaxSessionLifetime()
getMaxSessionLifetime in interface InactiveSessionStatisticspublic long getExpiredSessionCount()
getExpiredSessionCount in interface InactiveSessionStatisticspublic void reset()
reset in interface org.wildfly.clustering.ee.Recordable<ImmutableSession>Copyright © 2020 JBoss by Red Hat. All rights reserved.