Package com.jprofiler.api.platform.connection
This is an API for writing custom profilers. A custom profiler can analyze the JVM it is running in, one or multiple remote JVMs or saved snapshot files. In a custom profiler you have programmatic access to the profiling data through the platform API.
The javadoc for ConnectionFactory
presents the entry point for
writing a custom profiler. Connection
is the main interface
between the custom profiler and the profiling agent.
$JPROFILER_HOME/api/samples/platform
contains a sample program that shows how to write a custom profiler.
Open the gradle build file build.gradle
in an editor for instructions on how to run it.
Classes required for the profiling platform are contained in $JPROFILER_HOME/bin/platform.jar
. They
require a full JProfiler installation and so they are not available as an external dependency in contrast
to the probe and controller APIs.
-
ClassDescriptionThe primary interface for retrieving profiling data from a profiled JVM or a saved snapshot.Factory for creating connections to profiled JVMs and saved snapshots.