class SwapSpace extends Monitor

SwapSpace

Properties

integer $availablePhysicalMemory
integer $availableSwapSpace
integer $totalPhysicalMemory
integer $totalSwapSpace

Methods

static Model
getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

from Model
__construct()

Neue Instanz

integer
getAvailablePhysicalMemory()

getAvailablePhysicalMemory

integer
getAvailableSwapSpace()

getAvailableSwapSpace

integer
getTotalPhysicalMemory()

getTotalPhysicalMemory

integer
getTotalSwapSpace()

getTotalSwapSpace

setAvailablePhysicalMemory(integer $availablePhysicalMemory)

setAvailablePhysicalMemory

setAvailableSwapSpace(integer $availableSwapSpace)

setAvailableSwapSpace

setTotalPhysicalMemory(integer $totalPhysicalMemory)

setTotalPhysicalMemory

setTotalSwapSpace(integer $totalSwapSpace)

setTotalSwapSpace

static SwapSpace
getInstanceFromArray(Array $array)

getInstanceFromArray

Details

in Model at line 45
static Model getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

Parameters

string $json Json Zeichenkette

Return Value

Model Datenobjekt

Exceptions

TypeException Wenn die JSON-Zeichenkette kein Array abbildet oder Fehlerhaft ist

at line 60
__construct()

Neue Instanz

at line 71
integer getAvailablePhysicalMemory()

getAvailablePhysicalMemory

Return Value

integer

at line 80
integer getAvailableSwapSpace()

getAvailableSwapSpace

Return Value

integer

at line 89
integer getTotalPhysicalMemory()

getTotalPhysicalMemory

Return Value

integer

at line 98
integer getTotalSwapSpace()

getTotalSwapSpace

Return Value

integer

at line 109
SwapSpace setAvailablePhysicalMemory(integer $availablePhysicalMemory)

setAvailablePhysicalMemory

Parameters

integer $availablePhysicalMemory

Return Value

SwapSpace

at line 121
SwapSpace setAvailableSwapSpace(integer $availableSwapSpace)

setAvailableSwapSpace

Parameters

integer $availableSwapSpace

Return Value

SwapSpace

at line 133
SwapSpace setTotalPhysicalMemory(integer $totalPhysicalMemory)

setTotalPhysicalMemory

Parameters

integer $totalPhysicalMemory

Return Value

SwapSpace

at line 145
SwapSpace setTotalSwapSpace(integer $totalSwapSpace)

setTotalSwapSpace

Parameters

integer $totalSwapSpace

Return Value

SwapSpace

at line 157
static SwapSpace getInstanceFromArray(Array $array)

getInstanceFromArray

Parameters

Array $array

Return Value

SwapSpace