biz.hammurapi.metrics
Interface TimeIntervalCategory


public interface TimeIntervalCategory

Version:
$Revision: 1.1 $
Author:
Pavel Vlasov

Method Summary
 void addInterval(java.lang.String name, long start)
          Add new time interval measurement if category is active.
 long getTime()
           
 

Method Detail

getTime

long getTime()
Returns:
time in milliseconds or 0 if category is inactive

addInterval

void addInterval(java.lang.String name,
                 long start)
Add new time interval measurement if category is active.

Parameters:
name -
start -


Copyright © 2003 Hammurapi Group. All Rights Reserved.