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 long
bytesRead
private long
bytesWritten
private java.lang.String
name
private int
pageFaults
private int
parentProcessID
private int
priority
private long
residentSetSize
private long
startTime
private long
upTime
-
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 long
getBytesRead()
long
getBytesWritten()
java.lang.String
getName()
long
getPageFaults()
int
getParentProcessID()
int
getPriority()
long
getResidentSetSize()
long
getStartTime()
long
getUpTime()
-
-
-
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
-
-