com.atlassian.jira.config.component
Class GroupedMethodProfiler
java.lang.Object
com.atlassian.jira.config.component.GroupedMethodProfiler
public class GroupedMethodProfiler
- extends java.lang.Object
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 {@link java.lang.reflect.Method#invoke(java.lang.Object, java.lang.Object[]). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupedMethodProfiler
public GroupedMethodProfiler()
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 java.lang.reflect.Method#invoke(java.lang.Object, java.lang.Object[]). If {@link 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-2006 Atlassian. All Rights Reserved.