com.opensymphony.xwork2.util.profiling
Interface UtilTimerStack.ProfilingBlock<T>

Type Parameters:
T -
Enclosing class:
UtilTimerStack

public static interface UtilTimerStack.ProfilingBlock<T>

A callback interface where code subjected to profile is to be executed. This eliminates the need of coding boiler code that does pushing (UtilTimerBean.push(...)) and poping (UtilTimerBean.pop(...)) in a try ... finally ... block.

Version:
$Date$ $Id$

Method Summary
 T doProfiling()
          Method that execute the code subjected to profiling.
 

Method Detail

doProfiling

T doProfiling()
              throws Exception
Method that execute the code subjected to profiling.

Returns:
profiles Type
Throws:
Exception


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.