Class PagingFile
java.lang.Object
oshi.driver.common.windows.perfmon.PagingFile
Paging File performance counter enums
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumFor swap file usage -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<PagingFile.PagingPercentProperty, Long> querySwapUsed(PerfCounterQueryExecutor executor) Returns paging file usage counters.
-
Method Details
-
querySwapUsed
public static Map<PagingFile.PagingPercentProperty, Long> querySwapUsed(PerfCounterQueryExecutor executor) Returns paging file usage counters.- Parameters:
executor- the performance counter query executor- Returns:
- Paging file usage, or empty map if OS counters are disabled.
-