public interface Profiler
Modifier and Type | Method and Description |
---|---|
boolean |
attachProfiler(Map projectProperties)
This method is used from the
nbstartprofiledserver
task to connect the Profiler to a server ready for profiling. |
ProfilerServerSettings |
getSettings(String serverInstanceID)
Deprecated.
|
ProfilerServerSettings |
getSettings(String serverInstanceID,
boolean verbose)
Deprecated.
|
int |
getState()
Returns state of Profiler agent instance started from the IDE.
|
void |
notifyStarting()
Inform the profiler that some server is starting in the profile mode.
|
javax.enterprise.deploy.spi.status.ProgressObject |
shutdown()
Stops execution of the application (its JVM) currently being profiled.
|
void notifyStarting()
boolean attachProfiler(Map projectProperties)
nbstartprofiledserver
task to connect the Profiler to a server ready for profiling.projectProperties
- properties of project the nbstartprofiledserver
ant task was started from.true
if the Profiler successfully attached to the server.@Deprecated ProfilerServerSettings getSettings(String serverInstanceID)
serverInstanceID
- ID of the server instance that is going to be startednull
if user cancelled starting
the server.@Deprecated ProfilerServerSettings getSettings(String serverInstanceID, boolean verbose)
serverInstanceID
- ID of the server instance that is going to be startedverbose
- Whether to show the informational dialognull
if user cancelled starting
the server.int getState()
javax.enterprise.deploy.spi.status.ProgressObject shutdown()