com.opensymphony.xwork2.util.profiling

## Interface UtilTimerStack.ProfilingBlock<T>

- Type Parameters:
    `T` - type
  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.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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` - in case of any errors

Copyright © 2000–2021 Apache Software Foundation. All rights reserved.