org.objectweb.proactive.benchmarks.timit.util
Class TimItStore

java.lang.Object
  extended by org.objectweb.proactive.benchmarks.timit.util.TimItStore

public class TimItStore
extends java.lang.Object

This class is useful to share TimerCounter and EventObserver instances between classes on the same Body (or VM if app is not in a ProActive context)

Author:
Brian Amedro, Vladimir Bodnartchouk

Method Summary
 void activation()
           
 EventObserver addEventObserver(EventObserver eo)
           
 TimerCounter addTimerCounter(TimerCounter tc)
           
static TimItStore getInstance(Timed timed)
          Get a TimerStore instance for the current Body, or the VM if we are not on an active object (ProActive context)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TimItStore getInstance(Timed timed)
Get a TimerStore instance for the current Body, or the VM if we are not on an active object (ProActive context)

Returns:
an instance of TimerStore

addTimerCounter

public TimerCounter addTimerCounter(TimerCounter tc)

addEventObserver

public EventObserver addEventObserver(EventObserver eo)

activation

public void activation()


Copyright 2001-2007 INRIA All Rights Reserved.