Class: Azure::ServiceFabric::V6_4_0_36::Models::ReplicatorQueueStatus

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#committed_sequence_numberString

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.

Returns:

  • (String)

    On a primary replicator, this is semantically the



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_numberString

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.

Returns:

  • (String)

    On a primary replicator, this is semantically the



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_numberString

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.

Returns:

  • (String)

    On a primary replicator, this is semantically the



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_numberString

that is available in the queue.

Returns:

  • (String)

    Represents the latest sequence number of the operation



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_sizeString

bytes.

Returns:

  • (String)

    Represents the virtual memory consumed by the queue in



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_percentageInteger

indicates that the queue is empty and a value of 100 indicates the queue is full.

Returns:

  • (Integer)

    Represents the utilization of the queue. A value of 0



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

.mapperObject

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