Class: Virtuozzo::SOAP::Types::ProcInfo::StatsType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::ProcInfo::StatsType
- Defined in:
- lib/virtuozzo/soap/types/proc_info.rb
Overview
Direct Known Subclasses
Load_avg_statsType::L1, Load_avg_statsType::L2, Load_avg_statsType::L3
Instance Attribute Summary collapse
-
#avg ⇒ Object
Returns the value of attribute avg.
-
#cur ⇒ Object
Returns the value of attribute cur.
-
#hard ⇒ Object
Returns the value of attribute hard.
-
#max ⇒ Object
Returns the value of attribute max.
-
#min ⇒ Object
Returns the value of attribute min.
-
#soft ⇒ Object
Returns the value of attribute soft.
-
#total ⇒ Object
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil) ⇒ StatsType
constructor
A new instance of StatsType.
Constructor Details
#initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil) ⇒ StatsType
Returns a new instance of StatsType.
426 427 428 429 430 431 432 433 434 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 426 def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil) @avg = avg @min = min @max = max @total = total @cur = cur @soft = soft @hard = hard end |
Instance Attribute Details
#avg ⇒ Object
Returns the value of attribute avg.
418 419 420 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 418 def avg @avg end |
#cur ⇒ Object
Returns the value of attribute cur.
422 423 424 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 422 def cur @cur end |
#hard ⇒ Object
Returns the value of attribute hard.
424 425 426 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 424 def hard @hard end |
#max ⇒ Object
Returns the value of attribute max.
420 421 422 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 420 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
419 420 421 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 419 def min @min end |
#soft ⇒ Object
Returns the value of attribute soft.
423 424 425 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 423 def soft @soft end |
#total ⇒ Object
Returns the value of attribute total.
421 422 423 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 421 def total @total end |