com.atlassian.jira.config.component
Class GroupedMethodProfiler

java.lang.Object
  extended by com.atlassian.jira.config.component.GroupedMethodProfiler

public class GroupedMethodProfiler
extends java.lang.Object


Constructor Summary
GroupedMethodProfiler()
           
 
Method Summary
static java.lang.Object getProfiledObject(java.lang.Object o)
           
static java.lang.String getTrimmedClassName(java.lang.reflect.Method method)
          Given a method, get the Method name, with no package information.
static java.lang.Object profiledInvoke(java.lang.reflect.Method target, java.lang.Object value, java.lang.Object[] args)
          A profiled call Method.invoke(Object, Object[]).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupedMethodProfiler

public GroupedMethodProfiler()
Method Detail

getProfiledObject

public static java.lang.Object getProfiledObject(java.lang.Object o)

profiledInvoke

public static java.lang.Object profiledInvoke(java.lang.reflect.Method target,
                                              java.lang.Object value,
                                              java.lang.Object[] args)
                                       throws java.lang.IllegalAccessException,
                                              java.lang.reflect.InvocationTargetException
A profiled call Method.invoke(Object, Object[]). If UtilTimerStack.isActive() returns false, then no profiling is performed.

Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

getTrimmedClassName

public static java.lang.String getTrimmedClassName(java.lang.reflect.Method method)
Given a method, get the Method name, with no package information.



Copyright © 2002-2010 Atlassian. All Rights Reserved.