class MemoryStats extends Alvine

MemoryStats

Properties

protected Stats $stats
protected integer $maxusage
protected integer $usage
protected integer $failcnt
protected integer $limit

Methods

__construct()

__construct

getStats()

getStats

integer
getMaxusage()

getMaxusage

integer
getUsage()

getUsage

integer
getFailcnt()

getFailcnt

integer
getLimit()

getLimit

setStats(Stats $stats)

setStats

setMaxusage(integer $maxusage)

setMaxusage

setUsage(integer $usage)

setUsage

setFailcnt(integer $failcnt)

setFailcnt

setLimit(integer $limit)

setLimit

static MemoryStats
getInstanceFromArray(Array|ArrayHelper $array)

getInstanceFromArray

Details

at line 66
__construct()

__construct

at line 77
Stats getStats()

getStats

Return Value

Stats

at line 86
integer getMaxusage()

getMaxusage

Return Value

integer

at line 95
integer getUsage()

getUsage

Return Value

integer

at line 104
integer getFailcnt()

getFailcnt

Return Value

integer

at line 113
integer getLimit()

getLimit

Return Value

integer

at line 124
MemoryStats setStats(Stats $stats)

setStats

Parameters

Stats $stats

Return Value

MemoryStats

at line 136
MemoryStats setMaxusage(integer $maxusage)

setMaxusage

Parameters

integer $maxusage

Return Value

MemoryStats

at line 148
MemoryStats setUsage(integer $usage)

setUsage

Parameters

integer $usage

Return Value

MemoryStats

at line 160
MemoryStats setFailcnt(integer $failcnt)

setFailcnt

Parameters

integer $failcnt

Return Value

MemoryStats

at line 172
MemoryStats setLimit(integer $limit)

setLimit

Parameters

integer $limit

Return Value

MemoryStats

at line 184
static MemoryStats getInstanceFromArray(Array|ArrayHelper $array)

getInstanceFromArray

Parameters

Array|ArrayHelper $array

Return Value

MemoryStats