QueueMetrics Class
- java.
lang. Object - com.
azure. storage. queue. models. QueueMetrics
- com.
public final class QueueMetrics
a summary of request statistics grouped by API in hour or minute aggregates for queues.
Constructor Summary
Constructor | Description |
---|---|
QueueMetrics() |
Creates an instance of Queue |
Method Summary
Modifier and Type | Method and Description |
---|---|
Queue |
getRetentionPolicy()
Get the retention |
String |
getVersion()
Get the version property: The version of Storage Analytics to configure. |
boolean |
isEnabled()
Get the enabled property: Indicates whether metrics are enabled for the Queue service. |
Boolean |
isIncludeApis()
Get the include |
Queue |
setEnabled(boolean enabled)
Set the enabled property: Indicates whether metrics are enabled for the Queue service. |
Queue |
setIncludeApis(Boolean includeApis)
Set the include |
Queue |
setRetentionPolicy(QueueRetentionPolicy retentionPolicy)
Set the retention |
Queue |
setVersion(String version)
Set the version property: The version of Storage Analytics to configure. |
Methods inherited from java.lang.Object
Constructor Details
QueueMetrics
public QueueMetrics()
Creates an instance of QueueMetrics class.
Method Details
getRetentionPolicy
public QueueRetentionPolicy getRetentionPolicy()
Get the retentionPolicy property: the retention policy.
Returns:
getVersion
public String getVersion()
Get the version property: The version of Storage Analytics to configure.
Returns:
isEnabled
public boolean isEnabled()
Get the enabled property: Indicates whether metrics are enabled for the Queue service.
Returns:
isIncludeApis
public Boolean isIncludeApis()
Get the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.
Returns:
setEnabled
public QueueMetrics setEnabled(boolean enabled)
Set the enabled property: Indicates whether metrics are enabled for the Queue service.
Parameters:
Returns:
setIncludeApis
public QueueMetrics setIncludeApis(Boolean includeApis)
Set the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.
Parameters:
Returns:
setRetentionPolicy
public QueueMetrics setRetentionPolicy(QueueRetentionPolicy retentionPolicy)
Set the retentionPolicy property: the retention policy.
Parameters:
Returns:
setVersion
public QueueMetrics setVersion(String version)
Set the version property: The version of Storage Analytics to configure.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für