Package calibration.java.mx.jmx.mbeans
Interface ThreadProfilerMXBean
- All Known Implementing Classes:
ThreadProfiler
public interface ThreadProfilerMXBean
The Interface ThreadProfilerMXBean.
-
Method Summary
Modifier and TypeMethodDescriptionlongGets the failed cpus.longGets the max method allocated bytes.longGets the max cpu time.longGets the max thread allocated bytes.longGets the method allocated bytes.longGets the cpu time.longGets the min method allocated bytes.longGets the min cpu time.longGets the min thread allocated bytes.longgetRuns()Gets the cpus.longGets the thread allocated bytes.longGets the thread counter.longGets the thread cpu time.longGets the thread system time.longGets the thread user time.voidprofile(long finalthreadCpuTime, long finalthreadUserTime, long methodAllocatedBytes, long executionTime, long threadBytes, long threads, long runAll, long errorAll) Profile.
-
Method Details
-
getThreadCounter
long getThreadCounter()Gets the thread counter.- Returns:
- the thread counter
-
getThreadAllocatedBytes
long getThreadAllocatedBytes()Gets the thread allocated bytes.- Returns:
- the thread allocated bytes
-
getThreadUserTime
long getThreadUserTime()Gets the thread user time.- Returns:
- the thread user time
-
getThreadSystemTime
long getThreadSystemTime()Gets the thread system time.- Returns:
- the thread system time
-
getThreadCpuTime
long getThreadCpuTime()Gets the thread cpu time.- Returns:
- the thread cpu time
-
getErrors
long getErrors()Gets the failed cpus.- Returns:
- the failed cpus
-
getMaxMethodCpuTime
long getMaxMethodCpuTime()Gets the max cpu time.- Returns:
- the max cpu time
-
getMinMethodCpuTime
long getMinMethodCpuTime()Gets the min cpu time.- Returns:
- the min cpu time
-
getRuns
long getRuns()Gets the cpus.- Returns:
- the cpus
-
getMethodCpuTime
long getMethodCpuTime()Gets the cpu time.- Returns:
- the cpu time
-
getMethodAllocatedBytes
long getMethodAllocatedBytes()Gets the method allocated bytes.- Returns:
- the method allocated bytes
-
getMaxMethodAllocatedBytes
long getMaxMethodAllocatedBytes()Gets the max method allocated bytes.- Returns:
- the max method allocated bytes
-
getMinMethodAllocatedBytes
long getMinMethodAllocatedBytes()Gets the min method allocated bytes.- Returns:
- the min method allocated bytes
-
getMaxThreadAllocatedBytes
long getMaxThreadAllocatedBytes()Gets the max thread allocated bytes.- Returns:
- the max thread allocated bytes
-
getMinThreadAllocatedBytes
long getMinThreadAllocatedBytes()Gets the min thread allocated bytes.- Returns:
- the min thread allocated bytes
-
profile
void profile(long finalthreadCpuTime, long finalthreadUserTime, long methodAllocatedBytes, long executionTime, long threadBytes, long threads, long runAll, long errorAll) Profile.- Parameters:
finalthreadCpuTime- the finalthread cpu timefinalthreadUserTime- the finalthread user timemethodAllocatedBytes- the method allocated bytesexecutionTime- the execution timethreadBytes- the thread bytesthreads- the threadsrunAll- the run allerrorAll- the error all
-