struct PlaceOS::Core::ProcessManager::DriverStatus
- PlaceOS::Core::ProcessManager::DriverStatus
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
placeos-core/process_manager.crConstructors
- .new(running : Bool, module_instances : Int32, last_exit_code : Int32, launch_count : Int32, launch_time : Int64, percentage_cpu : Float64 | Nil, memory_total : Int64 | Nil, memory_usage : Int64 | Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #copy_with(running _running = @running, module_instances _module_instances = @module_instances, last_exit_code _last_exit_code = @last_exit_code, launch_count _launch_count = @launch_count, launch_time _launch_time = @launch_time, percentage_cpu _percentage_cpu = @percentage_cpu, memory_total _memory_total = @memory_total, memory_usage _memory_usage = @memory_usage)
- #last_exit_code : Int32
- #launch_count : Int32
- #launch_time : Int64
- #memory_total : Int64 | Nil
- #memory_usage : Int64 | Nil
- #module_instances : Int32
- #percentage_cpu : Float64 | Nil
- #running : Bool
Constructor Detail
def self.new(running : Bool, module_instances : Int32, last_exit_code : Int32, launch_count : Int32, launch_time : Int64, percentage_cpu : Float64 | Nil, memory_total : Int64 | Nil, memory_usage : Int64 | Nil)
#
Instance Method Detail
def copy_with(running _running = @running, module_instances _module_instances = @module_instances, last_exit_code _last_exit_code = @last_exit_code, launch_count _launch_count = @launch_count, launch_time _launch_time = @launch_time, percentage_cpu _percentage_cpu = @percentage_cpu, memory_total _memory_total = @memory_total, memory_usage _memory_usage = @memory_usage)
#