public class WindowsVirtualMemory extends AbstractVirtualMemory
Modifier and Type | Class and Description |
---|---|
static class |
WindowsVirtualMemory.PageSwapProperty |
Constructor and Description |
---|
WindowsVirtualMemory(long pageSize)
Constructor for WindowsVirtualMemory.
|
Modifier and Type | Method and Description |
---|---|
long |
getSwapPagesIn()
Number of pages read from paging/swap file(s) to resolve hard page faults.
|
long |
getSwapPagesOut()
Number of pages written to paging/swap file(s) to free up space in physical
memory.
|
long |
getSwapTotal()
The current size of the paging/swap file(s), in bytes.
|
long |
getSwapUsed()
The current memory committed to the paging/swap file(s), in bytes
|
toString
public WindowsVirtualMemory(long pageSize)
Constructor for WindowsVirtualMemory.
pageSize
- The size in bites of memory pagespublic long getSwapUsed()
VirtualMemory
public long getSwapTotal()
VirtualMemory
public long getSwapPagesIn()
VirtualMemory
public long getSwapPagesOut()
VirtualMemory
Copyright © 2010–2019 oshi. All rights reserved.