Class: Azure::ServiceFabric::V6_4_0_36::Models::ReplicatorQueueStatus
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::ReplicatorQueueStatus
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/replicator_queue_status.rb
Overview
Provides various statistics of the queue used in the service fabric replicator. Contains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc. Depending on the role of the replicator, the properties in this type imply different meanings.
Instance Attribute Summary collapse
-
#committed_sequence_number ⇒ String
highest sequence number of the operation for which a write quorum of the secondary replicas have sent an acknowledgement.
-
#completed_sequence_number ⇒ String
highest sequence number of the operation for which all the secondary replicas have sent an acknowledgement.
-
#first_sequence_number ⇒ String
sequence number of the operation for which all the secondary replicas have sent an acknowledgement.
-
#last_sequence_number ⇒ String
that is available in the queue.
-
#queue_memory_size ⇒ String
bytes.
-
#queue_utilization_percentage ⇒ Integer
indicates that the queue is empty and a value of 100 indicates the queue is full.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ReplicatorQueueStatus class as Ruby Hash.
Instance Attribute Details
#committed_sequence_number ⇒ String
highest sequence number of the operation for which a write quorum of the secondary replicas have sent an acknowledgement. On a secondary replicator, this is semantically the highest sequence number of the in-order operation received from the primary.
49 50 51 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/replicator_queue_status.rb', line 49 def committed_sequence_number @committed_sequence_number end |
#completed_sequence_number ⇒ String
highest sequence number of the operation for which all the secondary replicas have sent an acknowledgement. On a secondary replicator, this is semantically the highest sequence number that has been applied to the persistent state.
42 43 44 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/replicator_queue_status.rb', line 42 def completed_sequence_number @completed_sequence_number end |
#first_sequence_number ⇒ String
sequence number of the operation for which all the secondary replicas have sent an acknowledgement. On a secondary replicator, this is the smallest sequence number of the operation that is present in the queue.
35 36 37 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/replicator_queue_status.rb', line 35 def first_sequence_number @first_sequence_number end |
#last_sequence_number ⇒ String
that is available in the queue.
53 54 55 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/replicator_queue_status.rb', line 53 def last_sequence_number @last_sequence_number end |
#queue_memory_size ⇒ String
bytes.
28 29 30 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/replicator_queue_status.rb', line 28 def queue_memory_size @queue_memory_size end |
#queue_utilization_percentage ⇒ Integer
indicates that the queue is empty and a value of 100 indicates the queue is full.
24 25 26 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/replicator_queue_status.rb', line 24 def queue_utilization_percentage @queue_utilization_percentage end |
Class Method Details
.mapper ⇒ Object
Mapper for ReplicatorQueueStatus class as Ruby Hash. This will be used for serialization/deserialization.
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/replicator_queue_status.rb', line 60 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ReplicatorQueueStatus', type: { name: 'Composite', class_name: 'ReplicatorQueueStatus', model_properties: { queue_utilization_percentage: { client_side_validation: true, required: false, serialized_name: 'QueueUtilizationPercentage', type: { name: 'Number' } }, queue_memory_size: { client_side_validation: true, required: false, serialized_name: 'QueueMemorySize', type: { name: 'String' } }, first_sequence_number: { client_side_validation: true, required: false, serialized_name: 'FirstSequenceNumber', type: { name: 'String' } }, completed_sequence_number: { client_side_validation: true, required: false, serialized_name: 'CompletedSequenceNumber', type: { name: 'String' } }, committed_sequence_number: { client_side_validation: true, required: false, serialized_name: 'CommittedSequenceNumber', type: { name: 'String' } }, last_sequence_number: { client_side_validation: true, required: false, serialized_name: 'LastSequenceNumber', type: { name: 'String' } } } } } end |