public class ProfilerService extends AbstractService implements ProfilerControl
logger| Constructor and Description |
|---|
ProfilerService() |
| Modifier and Type | Method and Description |
|---|---|
protected ProfileSession |
createProfileSession(ProfilerParameters parameters) |
protected void |
doStart() |
protected void |
doStop() |
protected ProfileSession |
getCurrentSession() |
protected java.util.concurrent.ScheduledExecutorService |
getScheduledExecutorService() |
TransactionProfileService |
getTransactionProfileService() |
boolean |
isEnabled()
Is the service enabled.
|
void |
startProfiler(ProfilerParameters parameters) |
int |
stopProfiler(java.lang.Long profileId,
boolean shouldReport) |
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stoppublic boolean isEnabled()
ServiceisEnabled in interface ProfilerControlisEnabled in interface Servicetrue if the service is enabledpublic void startProfiler(ProfilerParameters parameters)
startProfiler in interface ProfilerControlpublic int stopProfiler(java.lang.Long profileId,
boolean shouldReport)
stopProfiler in interface ProfilerControlprotected ProfileSession createProfileSession(ProfilerParameters parameters)
protected java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
protected void doStart()
doStart in class AbstractServiceprotected ProfileSession getCurrentSession()
protected void doStop()
doStop in class AbstractServicepublic TransactionProfileService getTransactionProfileService()