Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::WaitStatistics
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::WaitStatistics
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/wait_statistics.rb
Overview
Wait statistics gathered during query batch execution
Instance Attribute Summary collapse
-
#wait_count ⇒ Integer
Total no.
-
#wait_time_ms ⇒ Float
Total wait time in millisecond(s).
-
#wait_type ⇒ String
Type of the Wait.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WaitStatistics class as Ruby Hash.
Instance Attribute Details
#wait_count ⇒ Integer
Returns Total no. of waits.
22 23 24 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/wait_statistics.rb', line 22 def wait_count @wait_count end |
#wait_time_ms ⇒ Float
Returns Total wait time in millisecond(s). Default value: 0 .
19 20 21 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/wait_statistics.rb', line 19 def wait_time_ms @wait_time_ms end |
#wait_type ⇒ String
Returns Type of the Wait.
16 17 18 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/wait_statistics.rb', line 16 def wait_type @wait_type end |
Class Method Details
.mapper ⇒ Object
Mapper for WaitStatistics class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/wait_statistics.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WaitStatistics', type: { name: 'Composite', class_name: 'WaitStatistics', model_properties: { wait_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'waitType', type: { name: 'String' } }, wait_time_ms: { client_side_validation: true, required: false, read_only: true, serialized_name: 'waitTimeMs', default_value: 0, type: { name: 'Double' } }, wait_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'waitCount', type: { name: 'Number' } } } } } end |