ome.services.sessions.stats
Class PerSessionStats

java.lang.Object
  extended by ome.services.sessions.stats.DelegatingStats
      extended by ome.services.sessions.stats.PerSessionStats
All Implemented Interfaces:
SessionStats

public class PerSessionStats
extends DelegatingStats

Delegates to a SessionStats which is acquired on every method invocation. This object doesn't itself contain a ThreadLocal but relies on the ThreadLocal instances in CurrentDetails.

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

Constructor Summary
PerSessionStats(CurrentDetails cd)
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerSessionStats

public PerSessionStats(CurrentDetails cd)
Method Detail

stats

protected SessionStats[] stats()
Description copied from class: DelegatingStats
Intended to be overwritten by subclasses.

Overrides:
stats in class DelegatingStats


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

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