Package ome.services.sessions.stats
Class PerThreadStats
- java.lang.Object
-
- ome.services.sessions.stats.DelegatingStats
-
- ome.services.sessions.stats.PerThreadStats
-
- All Implemented Interfaces:
SessionStats
public class PerThreadStats extends DelegatingStats
Delegates to aSessionStats
which is acquired on every method invocation. This object doesn't itself contain aThreadLocal
but relies on theThreadLocal
instances inCurrentDetails
.- Since:
- Beta4
-
-
Constructor Summary
Constructors Constructor Description PerThreadStats(CurrentDetails currentDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SessionStats[]
stats()
Intended to be overwritten by subclasses.-
Methods inherited from class ome.services.sessions.stats.DelegatingStats
loadedObjects, methodCount, methodIn, methodOut, readBytes, updatedObjects, writtenBytes
-
-
-
-
Constructor Detail
-
PerThreadStats
public PerThreadStats(CurrentDetails currentDetails)
-
-
Method Detail
-
stats
protected SessionStats[] stats()
Description copied from class:DelegatingStats
Intended to be overwritten by subclasses.- Overrides:
stats
in classDelegatingStats
-
-