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
-
-
Field Summary
Fields Modifier and Type Field Description private longbytesReadprivate longbytesWrittenprivate java.lang.Stringnameprivate intpageFaultsprivate intparentProcessIDprivate intpriorityprivate longresidentSetSizeprivate longstartTimeprivate longupTime
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetBytesRead()longgetBytesWritten()java.lang.StringgetName()longgetPageFaults()intgetParentProcessID()intgetPriority()longgetResidentSetSize()longgetStartTime()longgetUpTime()
-
-
-
Field Detail
-
name
private final java.lang.String name
-
parentProcessID
private final int parentProcessID
-
priority
private final int priority
-
residentSetSize
private final long residentSetSize
-
startTime
private final long startTime
-
upTime
private final long upTime
-
bytesRead
private final long bytesRead
-
bytesWritten
private final long bytesWritten
-
pageFaults
private final int pageFaults
-
-
Method Detail
-
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
-
-