Package oshi.driver.windows.registry
Class ProcessPerformanceData.PerfCounterBlock
java.lang.Object
oshi.driver.windows.registry.ProcessPerformanceData.PerfCounterBlock
- Enclosing class:
- ProcessPerformanceData
@Immutable public static class ProcessPerformanceData.PerfCounterBlock extends java.lang.Object
Class to encapsulate data from the registry performance counter block
-
Constructor Summary
Constructors Constructor Description PerfCounterBlock(java.lang.String name, int parentProcessID, int priority, long residentSetSize, long startTime, long upTime, long bytesRead, long bytesWritten, int pageFaults)
-
Method Summary
Modifier and Type Method Description long
getBytesRead()
long
getBytesWritten()
java.lang.String
getName()
long
getPageFaults()
int
getParentProcessID()
int
getPriority()
long
getResidentSetSize()
long
getStartTime()
long
getUpTime()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PerfCounterBlock
public PerfCounterBlock(java.lang.String name, int parentProcessID, int priority, long residentSetSize, long startTime, long upTime, long bytesRead, long bytesWritten, int pageFaults)
-
-
Method Details
-
getName
public java.lang.String getName()- Returns:
- the name
-
getParentProcessID
public int getParentProcessID()- Returns:
- the parentProcessID
-
getPriority
public int getPriority()- Returns:
- the priority
-
getResidentSetSize
public long getResidentSetSize()- Returns:
- the residentSetSize
-
getStartTime
public long getStartTime()- Returns:
- the startTime
-
getUpTime
public long getUpTime()- Returns:
- the upTime
-
getBytesRead
public long getBytesRead()- Returns:
- the bytesRead
-
getBytesWritten
public long getBytesWritten()- Returns:
- the bytesWritten
-
getPageFaults
public long getPageFaults()- Returns:
- the pageFaults
-