class Memory

Included Modules

Defined in:

models/memory.cr:1
models/memory.cr:3

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.adapter : Granite::Adapter::Base #

Instance Method Detail

def id : Int64 | Nil #

[View source]
def id! : Int64 #

[View source]
def id=(id : Int64 | Nil) #

[View source]
def ram_free_mb : Float64 #

[View source]
def ram_free_mb=(ram_free_mb : Float64) #

[View source]
def ram_size_mb : Float64 #

[View source]
def ram_size_mb=(ram_size_mb : Float64) #

[View source]
def ram_used_mb : Float64 #

[View source]
def ram_used_mb=(ram_used_mb : Float64) #

[View source]
def seconds : Int64 #

[View source]
def seconds=(seconds : Int64) #

[View source]
def swp_free_mb : Float64 #

[View source]
def swp_free_mb=(swp_free_mb : Float64) #

[View source]
def swp_size_mb : Float64 #

[View source]
def swp_size_mb=(swp_size_mb : Float64) #

[View source]
def swp_used_mb : Float64 #

[View source]
def swp_used_mb=(swp_used_mb : Float64) #

[View source]