org.sape.carbon.services.perflog
Interface PerformanceLogger

All Superinterfaces:
FunctionalInterface
All Known Subinterfaces:
ReportingPerformanceLogger
All Known Implementing Classes:
BoundedBufferPerformanceLogger, DefaultPerformanceLogger

public interface PerformanceLogger
extends FunctionalInterface

Standard interface for performance logging services. Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.5 $($Author: dvoet $ / $Date: 2003/05/05 21:21:31 $)
Author:
Tim Fennell, May 2002

Method Summary
 long end(Object trackedObject)
          Notifies the log a tracked object has completed execution.
 void start(Object trackedObject)
          Notifies the log a tracked object has started execution.
 

Method Detail

start

public void start(Object trackedObject)
Notifies the log a tracked object has started execution.

Parameters:
trackedObject - object being tracked.

end

public long end(Object trackedObject)
Notifies the log a tracked object has completed execution.

Parameters:
trackedObject - object being tracked.
Returns:
the time the trackedObject took to execute


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.