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 aSessionStats
which 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 void
loadedObjects(int objects)
long
methodCount()
void
methodIn()
void
methodOut()
void
readBytes(int bytes)
protected SessionStats[]
stats()
Intended to be overwritten by subclasses.void
updatedObjects(int objects)
void
writtenBytes(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:
methodIn
in interfaceSessionStats
-
methodCount
public long methodCount()
- Specified by:
methodCount
in interfaceSessionStats
-
methodOut
public void methodOut()
- Specified by:
methodOut
in interfaceSessionStats
-
loadedObjects
public final void loadedObjects(int objects)
- Specified by:
loadedObjects
in interfaceSessionStats
-
readBytes
public final void readBytes(int bytes)
- Specified by:
readBytes
in interfaceSessionStats
-
updatedObjects
public final void updatedObjects(int objects)
- Specified by:
updatedObjects
in interfaceSessionStats
-
writtenBytes
public final void writtenBytes(int bytes)
- Specified by:
writtenBytes
in interfaceSessionStats
-
-