org.excel4j.util
Class FunctionStatistics

java.lang.Object
  extended by org.excel4j.util.FunctionStatistics
All Implemented Interfaces:
FunctionListener

public class FunctionStatistics
extends java.lang.Object
implements FunctionListener

Used to record function statistics.


Constructor Summary
FunctionStatistics()
           
 
Method Summary
 void endFunction(java.lang.reflect.Method method, java.lang.Object result, java.lang.Throwable error)
          Indicates the end of a function call.
 void startFunction(ReflectAddin addin, java.lang.reflect.Method method, java.lang.Object[] args)
          Indicates the start of a function call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionStatistics

public FunctionStatistics()
Method Detail

endFunction

public void endFunction(java.lang.reflect.Method method,
                        java.lang.Object result,
                        java.lang.Throwable error)
Description copied from interface: FunctionListener
Indicates the end of a function call.

Specified by:
endFunction in interface FunctionListener
error - (Optional error).

startFunction

public void startFunction(ReflectAddin addin,
                          java.lang.reflect.Method method,
                          java.lang.Object[] args)
Description copied from interface: FunctionListener
Indicates the start of a function call.

Specified by:
startFunction in interface FunctionListener