ome.services.sessions.stats
Class PerThreadStats

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

public class PerThreadStats
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
PerThreadStats(CurrentDetails currentDetails)
           
 
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

PerThreadStats

public PerThreadStats(CurrentDetails currentDetails)
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: 4.3.4-dbcbce5a-b4

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