public class Spy
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.reflect.Method |
AFTER_INVOKING_METHOD |
static java.lang.reflect.Method |
AGENT_RESET_METHOD
代理重设方法
|
static java.lang.reflect.Method |
BEFORE_INVOKING_METHOD |
static java.lang.ClassLoader |
CLASSLOADER
arthas's classloader 引用
|
static java.lang.reflect.Method |
ON_BEFORE_METHOD |
static java.lang.reflect.Method |
ON_RETURN_METHOD |
static java.lang.reflect.Method |
ON_THROWS_METHOD |
static java.lang.reflect.Method |
THROW_INVOKING_METHOD |
| 构造器和说明 |
|---|
Spy() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
destroy()
Clean up the reference to com.taobao.arthas.agent.AgentLauncher$1
to avoid classloader leak.
|
static void |
init(java.lang.ClassLoader classLoader,
java.lang.reflect.Method onBeforeMethod,
java.lang.reflect.Method onReturnMethod,
java.lang.reflect.Method onThrowsMethod,
java.lang.reflect.Method beforeInvokingMethod,
java.lang.reflect.Method afterInvokingMethod,
java.lang.reflect.Method throwInvokingMethod) |
static void |
initForAgentLauncher(java.lang.ClassLoader classLoader,
java.lang.reflect.Method onBeforeMethod,
java.lang.reflect.Method onReturnMethod,
java.lang.reflect.Method onThrowsMethod,
java.lang.reflect.Method beforeInvokingMethod,
java.lang.reflect.Method afterInvokingMethod,
java.lang.reflect.Method throwInvokingMethod,
java.lang.reflect.Method agentResetMethod) |
public static volatile java.lang.reflect.Method ON_BEFORE_METHOD
public static volatile java.lang.reflect.Method ON_RETURN_METHOD
public static volatile java.lang.reflect.Method ON_THROWS_METHOD
public static volatile java.lang.reflect.Method BEFORE_INVOKING_METHOD
public static volatile java.lang.reflect.Method AFTER_INVOKING_METHOD
public static volatile java.lang.reflect.Method THROW_INVOKING_METHOD
public static volatile java.lang.ClassLoader CLASSLOADER
public static volatile java.lang.reflect.Method AGENT_RESET_METHOD
public static void init(java.lang.ClassLoader classLoader,
java.lang.reflect.Method onBeforeMethod,
java.lang.reflect.Method onReturnMethod,
java.lang.reflect.Method onThrowsMethod,
java.lang.reflect.Method beforeInvokingMethod,
java.lang.reflect.Method afterInvokingMethod,
java.lang.reflect.Method throwInvokingMethod)
public static void initForAgentLauncher(java.lang.ClassLoader classLoader,
java.lang.reflect.Method onBeforeMethod,
java.lang.reflect.Method onReturnMethod,
java.lang.reflect.Method onThrowsMethod,
java.lang.reflect.Method beforeInvokingMethod,
java.lang.reflect.Method afterInvokingMethod,
java.lang.reflect.Method throwInvokingMethod,
java.lang.reflect.Method agentResetMethod)
public static void destroy()
Copyright © 2018. All Rights Reserved.