public interface AsyncProfilerMXBean
ManagementFactory.getPlatformMBeanServer().registerMBean(
AsyncProfiler.getInstance(),
new ObjectName("one.profiler:type=AsyncProfiler")
);
| Modifier and Type | Method and Description |
|---|---|
String |
dumpCollapsed(Counter counter) |
String |
dumpFlat(int maxMethods) |
String |
dumpTraces(int maxTraces) |
String |
execute(String command) |
long |
getSamples() |
String |
getVersion() |
void |
resume(String event,
long interval) |
void |
start(String event,
long interval) |
void |
stop() |
void start(String event, long interval) throws IllegalStateException
IllegalStateExceptionvoid resume(String event, long interval) throws IllegalStateException
IllegalStateExceptionvoid stop() throws IllegalStateException
IllegalStateExceptionlong getSamples()
String getVersion()
String execute(String command) throws IllegalArgumentException, IOException
IllegalArgumentExceptionIOExceptionString dumpTraces(int maxTraces)
String dumpFlat(int maxMethods)
Copyright © 2020. All rights reserved.