Package ome.services.sessions.stats
Class DelegatingStats
- java.lang.Object
-
- ome.services.sessions.stats.DelegatingStats
-
- All Implemented Interfaces:
SessionStats
- Direct Known Subclasses:
CurrentSessionStats,PerSessionStats,PerThreadStats
public class DelegatingStats extends java.lang.Object implements SessionStats
Delegates to aSessionStatswhich is acquired fromstats(). Also intended for subclassing.- Since:
- Beta4
-
-
Constructor Summary
Constructors Constructor Description DelegatingStats()DelegatingStats(SessionStats[] stats)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidloadedObjects(int objects)longmethodCount()voidmethodIn()voidmethodOut()voidreadBytes(int bytes)protected SessionStats[]stats()Intended to be overwritten by subclasses.voidupdatedObjects(int objects)voidwrittenBytes(int bytes)
-
-
-
Constructor Detail
-
DelegatingStats
public DelegatingStats()
-
DelegatingStats
public DelegatingStats(SessionStats[] stats)
-
-
Method Detail
-
stats
protected SessionStats[] stats()
Intended to be overwritten by subclasses.
-
methodIn
public void methodIn()
- Specified by:
methodInin interfaceSessionStats
-
methodCount
public long methodCount()
- Specified by:
methodCountin interfaceSessionStats
-
methodOut
public void methodOut()
- Specified by:
methodOutin interfaceSessionStats
-
loadedObjects
public final void loadedObjects(int objects)
- Specified by:
loadedObjectsin interfaceSessionStats
-
readBytes
public final void readBytes(int bytes)
- Specified by:
readBytesin interfaceSessionStats
-
updatedObjects
public final void updatedObjects(int objects)
- Specified by:
updatedObjectsin interfaceSessionStats
-
writtenBytes
public final void writtenBytes(int bytes)
- Specified by:
writtenBytesin interfaceSessionStats
-
-