Module org.apache.wicket.metrics
Class SessionCountListenerAspect
java.lang.Object
org.apache.wicket.metrics.WicketMetrics
org.apache.wicket.metrics.aspects.session.SessionCountListenerAspect
The Session count listener aspect measures how many sessions are active
- Author:
- Tobias Soloschenko
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wicket.metrics.WicketMetrics
WicketMetrics.CounterOperation
-
Field Summary
Fields inherited from class org.apache.wicket.metrics.WicketMetrics
METRIC_REGISTRY, METRIC_SETTINGS
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.wicket.metrics.WicketMetrics
count, getFilterName, getMetricRegistry, getSettings, mark, measureTime, measureTime, renderClassName, setFilterName, stopQuietly
-
Constructor Details
-
SessionCountListenerAspect
public SessionCountListenerAspect()
-
-
Method Details
-
aroundInc
Measures if a session is going to be activated- Parameters:
joinPoint
- the join point- Returns:
- void
- Throws:
Throwable
- if an error occurred
-
aroundDec
Measures if a session is going to be destroyed- Parameters:
joinPoint
- the join point- Returns:
- void
- Throws:
Throwable
- if an error occurred
-