public class MemoryInfos
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
long |
physicalFree |
long |
physicalSize |
long |
swapFree |
long |
swapSize |
Constructor and Description |
---|
MemoryInfos() |
MemoryInfos(MemoryInfos o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this MemoryInfos.
|
static MemoryInfos |
fromString(java.lang.String s)
String representation of this MemoryInfos.
|
long |
getPhysicalFree()
In KB
|
long |
getPhysicalSize()
In KB
|
long |
getSwapFree()
In KB
|
long |
getSwapSize()
In KB
|
MemoryInfos |
makeCopy()
Creates and returns a deep copy of this MemoryInfos.
|
static MemoryInfos |
readFrom(java.io.InputStream is)
Read this MemoryInfos from an XML fragment.
|
void |
setPhysicalFree(long physicalFree)
In KB
|
void |
setPhysicalSize(long physicalSize)
In KB
|
void |
setSwapFree(long swapFree)
In KB
|
void |
setSwapSize(long swapSize)
In KB
|
java.lang.String |
toString()
String representation of this MemoryInfos.
|
MemoryInfos |
withPhysicalFree(long physicalFree) |
MemoryInfos |
withPhysicalFree(java.lang.Long physicalFree) |
MemoryInfos |
withPhysicalSize(long physicalSize) |
MemoryInfos |
withPhysicalSize(java.lang.Long physicalSize) |
MemoryInfos |
withSwapFree(long swapFree) |
MemoryInfos |
withSwapFree(java.lang.Long swapFree) |
MemoryInfos |
withSwapSize(long swapSize) |
MemoryInfos |
withSwapSize(java.lang.Long swapSize) |
void |
writeTo(java.io.OutputStream os)
Write this MemoryInfos as an XML fragment
|
public long swapSize
public long swapFree
public long physicalSize
public long physicalFree
public MemoryInfos()
public MemoryInfos(MemoryInfos o)
public void setSwapSize(long swapSize)
public long getSwapSize()
public MemoryInfos withSwapSize(long swapSize)
public MemoryInfos withSwapSize(java.lang.Long swapSize)
public void setSwapFree(long swapFree)
public long getSwapFree()
public MemoryInfos withSwapFree(long swapFree)
public MemoryInfos withSwapFree(java.lang.Long swapFree)
public void setPhysicalSize(long physicalSize)
public long getPhysicalSize()
public MemoryInfos withPhysicalSize(long physicalSize)
public MemoryInfos withPhysicalSize(java.lang.Long physicalSize)
public void setPhysicalFree(long physicalFree)
public long getPhysicalFree()
public MemoryInfos withPhysicalFree(long physicalFree)
public MemoryInfos withPhysicalFree(java.lang.Long physicalFree)
public MemoryInfos makeCopy()
public static MemoryInfos readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static MemoryInfos fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.