Class IResourceCreateAspect
- java.lang.Object
-
- org.apache.wicket.metrics.WicketMetrics
-
- org.apache.wicket.metrics.aspects.resource.IResourceCreateAspect
-
public class IResourceCreateAspect extends WicketMetrics
Measures how often a resource is created- 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
Constructors Constructor Description IResourceCreateAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
aroundNew(org.aspectj.lang.ProceedingJoinPoint joinPoint)
Collects data how often a resource reference is created-
Methods inherited from class org.apache.wicket.metrics.WicketMetrics
count, getFilterName, getMetricRegistry, getSettings, mark, measureTime, measureTime, renderClassName, setFilterName, stopQuietly
-
-
-
-
Constructor Detail
-
IResourceCreateAspect
public IResourceCreateAspect()
-
-
Method Detail
-
aroundNew
public Object aroundNew(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws Throwable
Collects data how often a resource reference is created- Parameters:
joinPoint
- the join point (resource reference) which is created- Returns:
- the result of constructor
- Throws:
Throwable
- might occur while creating a new resource reference
-
-