Package com.gigaspaces.internal.os.oshi
Class OshiProcessCpuSampler
java.lang.Object
com.gigaspaces.internal.os.oshi.OshiProcessCpuSampler
- All Implemented Interfaces:
ProcessCpuSampler
- Since:
- 15.5.1
- Author:
- Niv Ingberg
-
Field Summary
Fields inherited from interface com.gigaspaces.internal.os.ProcessCpuSampler
cores, NA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGets the number of milliseconds the process has executed in kernel or user mode.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.internal.os.ProcessCpuSampler
getCpuLoadCumulative
-
Constructor Details
-
OshiProcessCpuSampler
public OshiProcessCpuSampler()
-
-
Method Details
-
sampleTotalCpuTime
public long sampleTotalCpuTime()Description copied from interface:ProcessCpuSamplerGets the number of milliseconds the process has executed in kernel or user mode.- Specified by:
sampleTotalCpuTimein interfaceProcessCpuSampler
-