com.jniwrapper.win32.system
Class MemoryStatusEx
java.lang.Object
com.jniwrapper.Parameter
com.jniwrapper.Structure
com.jniwrapper.win32.system.MemoryStatusEx
- All Implemented Interfaces:
- com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter
public class MemoryStatusEx
- extends com.jniwrapper.Structure
This class represents the wrapper for MEMORYSTATUSEX
structure.
Use MemoryInfo
class to obtain memory information.
Fields inherited from class com.jniwrapper.Structure |
i |
Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
Methods inherited from class com.jniwrapper.Structure |
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
Methods inherited from class com.jniwrapper.Parameter |
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
MemoryStatusEx
public MemoryStatusEx()
- Creates an instance with information on the current memory state.
MemoryStatusEx
public MemoryStatusEx(MemoryStatusEx that)
- Creates an instance of the
MemoryStatusEx
from the specified value
- Parameters:
that
-
getMemoryLoad
public long getMemoryLoad()
getTotalPhys
public long getTotalPhys()
getAvailPhys
public long getAvailPhys()
getTotalPageFile
public long getTotalPageFile()
getAvailPageFile
public long getAvailPageFile()
getTotalVirtual
public long getTotalVirtual()
getAvailVirtual
public long getAvailVirtual()
getAvailExtendedVirtual
public long getAvailExtendedVirtual()
clone
public java.lang.Object clone()
- Overrides:
clone
in class com.jniwrapper.Structure