public class ProfilerService extends AbstractService implements ProfilerControl
logger| Constructor and Description |
|---|
ProfilerService() |
ProfilerService(java.util.concurrent.ScheduledExecutorService scheduledExecutorService) |
| 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) |
protected void |
transactionFinished(TransactionData transactionData) |
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stoppublic ProfilerService()
public ProfilerService(java.util.concurrent.ScheduledExecutorService scheduledExecutorService)
protected void transactionFinished(TransactionData transactionData)
public 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()