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)
           
 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.


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: Beta-4.1.1-r5927-b91

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