memory

package
v0.15.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2018 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package memory implements the Memory domain.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(conn *rpcc.Conn) *domainClient

NewClient returns a client for the Memory domain with the connection set to conn.

Types

type GetDOMCountersReply

type GetDOMCountersReply struct {
	Documents        int `json:"documents"`        // No description.
	Nodes            int `json:"nodes"`            // No description.
	JsEventListeners int `json:"jsEventListeners"` // No description.
}

GetDOMCountersReply represents the return values for GetDOMCounters in the Memory domain.

type PressureLevel

type PressureLevel string

PressureLevel Memory pressure level.

const (
	PressureLevelNotSet   PressureLevel = ""
	PressureLevelModerate PressureLevel = "moderate"
	PressureLevelCritical PressureLevel = "critical"
)

PressureLevel as enums.

func (PressureLevel) String

func (e PressureLevel) String() string

func (PressureLevel) Valid

func (e PressureLevel) Valid() bool

type SetPressureNotificationsSuppressedArgs

type SetPressureNotificationsSuppressedArgs struct {
	Suppressed bool `json:"suppressed"` // If true, memory pressure notifications will be suppressed.
}

SetPressureNotificationsSuppressedArgs represents the arguments for SetPressureNotificationsSuppressed in the Memory domain.

func NewSetPressureNotificationsSuppressedArgs

func NewSetPressureNotificationsSuppressedArgs(suppressed bool) *SetPressureNotificationsSuppressedArgs

NewSetPressureNotificationsSuppressedArgs initializes SetPressureNotificationsSuppressedArgs with the required arguments.

type SimulatePressureNotificationArgs

type SimulatePressureNotificationArgs struct {
	Level PressureLevel `json:"level"` // Memory pressure level of the notification.
}

SimulatePressureNotificationArgs represents the arguments for SimulatePressureNotification in the Memory domain.

func NewSimulatePressureNotificationArgs

func NewSimulatePressureNotificationArgs(level PressureLevel) *SimulatePressureNotificationArgs

NewSimulatePressureNotificationArgs initializes SimulatePressureNotificationArgs with the required arguments.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL