public static final class AsyncProfiler.JavaApi extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
execute(String command) |
void |
filterThread(Thread thread,
boolean enable)
Enable or disable profile collection for threads.
|
static AsyncProfiler.JavaApi |
getInstance() |
static AsyncProfiler.JavaApi |
getInstance(String libraryFileName) |
public static AsyncProfiler.JavaApi getInstance(String libraryFileName)
public static AsyncProfiler.JavaApi getInstance()
public String execute(String command) throws IOException
IOExceptionpublic void filterThread(Thread thread, boolean enable)
thread - The thread to enable or disable.
null indicates the current thread.enable - Whether to enable or disable.Copyright © 2025. All rights reserved.