public class ApmAgentContext extends Object
| Constructor and Description |
|---|
ApmAgentContext(ApmAgent agent) |
| Modifier and Type | Method and Description |
|---|---|
List<ClassInfo> |
buildDeltaList() |
void |
enterMethod(Thread currentThread,
String fullMethodName,
boolean alwaysActive) |
void |
exitMethod(Thread currentThread,
String methodName,
boolean alwaysActive) |
List<String> |
getAllMethods() |
ClassInfo |
getClassInfo(String className) |
ApmConfiguration |
getConfiguration() |
List<? extends MethodMetrics> |
getMethodMetrics() |
List<ThreadMetrics> |
getThreadMetrics() |
List<String> |
getTransformedMethods() |
void |
initialize() |
boolean |
isInitialized() |
boolean |
isMonitorByDefault() |
void |
methodMetricsDepthChanged() |
protected ObjectInstance |
registerMBean(ObjectName objectName,
Object object) |
void |
resetAll(ClassInfo classInfo) |
void |
resetMethods(ClassInfo classInfo) |
void |
setActive(String fullMethodName,
boolean flag) |
void |
setMonitorByDefault(boolean monitorByDefault) |
void |
shutDown() |
void |
start() |
void |
stop() |
void |
threadMetricsDepthChanged() |
protected void |
unregisterMBean(ObjectName objectName) |
public ApmAgentContext(ApmAgent agent)
public void enterMethod(Thread currentThread, String fullMethodName, boolean alwaysActive)
public void initialize()
public void start()
public void stop()
public void shutDown()
public List<ThreadMetrics> getThreadMetrics()
public List<? extends MethodMetrics> getMethodMetrics()
public boolean isInitialized()
public ApmConfiguration getConfiguration()
public boolean isMonitorByDefault()
public void setMonitorByDefault(boolean monitorByDefault)
public void setActive(String fullMethodName, boolean flag)
public void resetMethods(ClassInfo classInfo)
public void resetAll(ClassInfo classInfo)
public void methodMetricsDepthChanged()
public void threadMetricsDepthChanged()
protected ObjectInstance registerMBean(ObjectName objectName, Object object) throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException
protected void unregisterMBean(ObjectName objectName)
Copyright © 2011–2015 Red Hat. All rights reserved.