Directus / @directus/pressure / PressureMonitor
Class: PressureMonitor ​
Constructors ​
new PressureMonitor(options) ​
new PressureMonitor(
options
):PressureMonitor
Parameters ​
• options: PressureMonitorOptions
= {}
Returns ​
Source ​
Properties ​
eventLoopDelay ​
private
eventLoopDelay:number
=0
Source ​
eventLoopUtilization ​
private
eventLoopUtilization:number
=0
Source ​
histogram ​
private
histogram:IntervalHistogram
Source ​
memoryHeapUsed ​
private
memoryHeapUsed:number
=0
Source ​
memoryRss ​
private
memoryRss:number
=0
Source ​
options ​
private
options:Required
<PressureMonitorOptions
>
Source ​
timeout ​
private
timeout:Timeout
Source ​
Accessors ​
overloaded ​
get
overloaded():boolean
Returns ​
boolean
Source ​
Methods ​
updateEventLoopUsage() ​
private
updateEventLoopUsage():void
Returns ​
void
Source ​
updateMemoryUsage() ​
private
updateMemoryUsage():void
Returns ​
void
Source ​
updateUsage() ​
private
updateUsage():void
Returns ​
void