ome.services.sessions.stats
Class DelegatingStats

java.lang.Object
  extended by ome.services.sessions.stats.DelegatingStats
All Implemented Interfaces:
SessionStats
Direct Known Subclasses:
CurrentSessionStats, PerSessionStats, PerThreadStats

public class DelegatingStats
extends Object
implements SessionStats

Delegates to a SessionStats which is acquired from stats(). Also intended for subclassing.

Since:
Beta4
Author:
Josh Moore, josh at glencoesoftware.com

Constructor Summary
DelegatingStats()
           
DelegatingStats(SessionStats[] stats)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface SessionStats

methodCount

public long methodCount()
Specified by:
methodCount in interface SessionStats

methodOut

public void methodOut()
Specified by:
methodOut in interface SessionStats

loadedObjects

public final void loadedObjects(int objects)
Specified by:
loadedObjects in interface SessionStats

readBytes

public final void readBytes(int bytes)
Specified by:
readBytes in interface SessionStats

updatedObjects

public final void updatedObjects(int objects)
Specified by:
updatedObjects in interface SessionStats

writtenBytes

public final void writtenBytes(int bytes)
Specified by:
writtenBytes in interface SessionStats


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.