ThroughputProperties Class
- java.
lang. Object - com.
azure. cosmos. models. ThroughputProperties
- com.
public class ThroughputProperties
Represents throughput of the resources in the Azure Cosmos DB service.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Throughput |
createAutoscaledThroughput(int autoScaleMaxThroughput)
Create auto scaled provisioned throughput throughput properties. |
static
Throughput |
createManualThroughput(int throughput)
Create fixed throughput properties. |
int |
getAutoscaleMaxThroughput()
Gets max auto-scale throughput. |
String |
getETag()
Get the entity tag associated with the resource. |
String |
getId()
Gets the name of the resource. |
Integer |
getManualThroughput()
Gets offer throughput. |
Instant |
getTimestamp()
Get the last modified timestamp associated with the resource. |
Methods inherited from java.lang.Object
Method Details
createAutoscaledThroughput
public static ThroughputProperties createAutoscaledThroughput(int autoScaleMaxThroughput)
Create auto scaled provisioned throughput throughput properties.
Parameters:
Returns:
createManualThroughput
public static ThroughputProperties createManualThroughput(int throughput)
Create fixed throughput properties.
Parameters:
Returns:
getAutoscaleMaxThroughput
public int getAutoscaleMaxThroughput()
Gets max auto-scale throughput.
Returns:
getETag
public String getETag()
Get the entity tag associated with the resource. This is only relevant when getting response from the server.
Returns:
getId
public String getId()
Gets the name of the resource. This is only relevant when getting response from the server.
Returns:
getManualThroughput
public Integer getManualThroughput()
Gets offer throughput.
Returns:
getTimestamp
public Instant getTimestamp()
Get the last modified timestamp associated with the resource. This is only relevant when getting response from the server.
Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour