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 Method.invoke(Object, 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
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-2011 Atlassian. All Rights Reserved.