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
IOException
public 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 © 2012–2020 Oracle. All rights reserved.