Package com.yourkit.api.controller.v2
Class Status
java.lang.Object
com.yourkit.api.controller.v2.Status
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet current object allocation profiling settings.Get current flight recording settings.intgetPid()booleanCheck whether object allocation profiling is running.booleanbooleanbooleanbooleanCheck whether any CPU profiling mode is running: tracing, sampling (classic or asynchronous), call counting.booleanbooleanisJfr()booleanbooleanbooleanbooleanboolean
-
Constructor Details
-
Status
public Status()
-
-
Method Details
-
getPid
public int getPid()- Returns:
- Process identifier (PID) of the controlled profiled application.
-
getAppName
- Returns:
- Profiled application name.
-
isAllocationProfiling
public boolean isAllocationProfiling()Check whether object allocation profiling is running.- Returns:
TRUEif object allocation profiling is on.- See Also:
-
getAllocationProfilingSettings
Get current object allocation profiling settings.- See Also:
-
isAsyncSamplingCpu
public boolean isAsyncSamplingCpu()- Returns:
TRUEif asynchronous CPU sampling is on.
-
isAsyncSamplingPeriodic
public boolean isAsyncSamplingPeriodic()- Returns:
TRUEif asynchronous periodic sampling is on.
-
isCallCounting
public boolean isCallCounting()- Returns:
TRUEif call counting is on.
-
isCpuProfiling
public boolean isCpuProfiling()Check whether any CPU profiling mode is running: tracing, sampling (classic or asynchronous), call counting.- Returns:
TRUEif CPU profiling is on.- See Also:
-
isExceptionProfiling
public boolean isExceptionProfiling()- Returns:
TRUEif exception profiling is on.
-
isJfr
public boolean isJfr()- Returns:
TRUEif flight recording is on.- See Also:
-
getJfrSettings
Get current flight recording settings.- See Also:
-
isMonitorProfiling
public boolean isMonitorProfiling()- Returns:
TRUEif monitor profiling is on.
-
isThreadProfiling
public boolean isThreadProfiling()- Returns:
TRUEif thread profiling is on.
-
isSampling
public boolean isSampling()- Returns:
TRUEif classic not asynchronous CPU sampling is on.
-
isTelemetry
public boolean isTelemetry()- Returns:
TRUEif telemetry is on.
-
isTracing
public boolean isTracing()- Returns:
TRUEif CPU tracing is on.
-