public final class Windows extends MemoryMonitor
MemoryMonitor
implementation for Windows.
JNA requires that the class and interface be public.
Modifier and Type | Class and Description |
---|---|
static interface |
Windows.Kernel32 |
static class |
Windows.MEMORYSTATUSEX |
Constructor and Description |
---|
Windows() |
Modifier and Type | Method and Description |
---|---|
MemoryUsage |
monitor()
Obtains the memory usage statistics.
|
get, main
public MemoryUsage monitor()
MemoryMonitor
monitor
in class MemoryMonitor
Copyright © 2015. All rights reserved.