public interface Profiler
Profiler classes are expected to provide either a non-arg constructor,
or a constructor accepting single String argument, as the option line.
The treatment of option line is unspecified, and can be handled in
profiler-specific way. Profiler constructors can throw
ProfilerException
if profiler cannot
operate, either because of misconfiguration, or help message requested.
The message in ProfilerException
should
clearly articulate the reason.
Profilers normally implement one of the subinterfaces.
ExternalProfiler
,
InternalProfiler
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Human-readable one-line description of the profiler.
|
String getDescription()
Copyright © 2012-2015 Oracle. All Rights Reserved.