public class Spy extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static Method |
AFTER_INVOKING_METHOD |
static Method |
AGENT_RESET_METHOD
代理重设方法
|
static Method |
BEFORE_INVOKING_METHOD |
static ClassLoader |
CLASSLOADER
arthas's classloader 引用
|
static Method |
ON_BEFORE_METHOD |
static Method |
ON_RETURN_METHOD |
static Method |
ON_THROWS_METHOD |
static 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(ClassLoader classLoader,
Method onBeforeMethod,
Method onReturnMethod,
Method onThrowsMethod,
Method beforeInvokingMethod,
Method afterInvokingMethod,
Method throwInvokingMethod) |
static void |
initForAgentLauncher(ClassLoader classLoader,
Method onBeforeMethod,
Method onReturnMethod,
Method onThrowsMethod,
Method beforeInvokingMethod,
Method afterInvokingMethod,
Method throwInvokingMethod,
Method agentResetMethod) |
public static volatile Method ON_BEFORE_METHOD
public static volatile Method ON_RETURN_METHOD
public static volatile Method ON_THROWS_METHOD
public static volatile Method BEFORE_INVOKING_METHOD
public static volatile Method AFTER_INVOKING_METHOD
public static volatile Method THROW_INVOKING_METHOD
public static volatile ClassLoader CLASSLOADER
public static volatile Method AGENT_RESET_METHOD
public static void init(ClassLoader classLoader, Method onBeforeMethod, Method onReturnMethod, Method onThrowsMethod, Method beforeInvokingMethod, Method afterInvokingMethod, Method throwInvokingMethod)
public static void initForAgentLauncher(ClassLoader classLoader, Method onBeforeMethod, Method onReturnMethod, Method onThrowsMethod, Method beforeInvokingMethod, Method afterInvokingMethod, Method throwInvokingMethod, Method agentResetMethod)
public static void destroy()
Copyright © 2019. All rights reserved.