class Azure::ServiceFabric::V7_0_0_42::Models::ReplicatorQueueStatus

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.

Attributes

committed_sequence_number[RW]

@return [String] On a primary replicator, this is semantically the 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.

completed_sequence_number[RW]

@return [String] On a primary replicator, this is semantically the 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.

first_sequence_number[RW]

@return [String] On a primary replicator, this is semantically the 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.

last_sequence_number[RW]

@return [String] Represents the latest sequence number of the operation that is available in the queue.

queue_memory_size[RW]

@return [String] Represents the virtual memory consumed by the queue in bytes.

queue_utilization_percentage[RW]

@return [Integer] Represents the utilization of the queue. A value of 0 indicates that the queue is empty and a value of 100 indicates the queue is full.

Private Class Methods

mapper() click to toggle source

Mapper for ReplicatorQueueStatus class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.0.0.42/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