com.jniwrapper.win32.system
Class MemoryStatus

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Structure
          extended by com.jniwrapper.win32.system.MemoryStatus
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class MemoryStatus
extends com.jniwrapper.Structure

This class represents the wrapper for MEMORYSTATUS structure. Use MemoryInfo class to obtain memory information.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
MemoryStatus()
          Deprecated. Use MemoryInfo class to obtain memory information.
 
Method Summary
 java.lang.Object clone()
           
 long getAvailPageFile()
           
 long getAvailPhys()
           
 long getAvailVirtual()
           
 long getMemoryLoad()
           
 long getTotalPageFile()
           
 long getTotalPhys()
           
 long getTotalVirtual()
           
 
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
 

Constructor Detail

MemoryStatus

public MemoryStatus()
Deprecated. Use MemoryInfo class to obtain memory information.

Creates new instance & reads information using GlobalMemoryStatus function.

Method Detail

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()

clone

public java.lang.Object clone()
Overrides:
clone in class com.jniwrapper.Structure