ShareStatistics Class
- java.
lang. Object - com.
azure. storage. file. share. models. ShareStatistics
- com.
public final class ShareStatistics
Contains statistics about a Share in the storage File service.
Constructor Summary
Constructor | Description |
---|---|
ShareStatistics(int shareUsageInGB) |
Creates an instance of storage statistics for a Share. |
ShareStatistics(long shareUsageInBytes) |
Creates an instance of storage statistics for a Share. |
Method Summary
Modifier and Type | Method and Description |
---|---|
long |
getShareUsageInBytes()
Get the size in bytes of the Share. |
int |
getShareUsageInGB()
Get the size in GB of the Share. |
Methods inherited from java.lang.Object
Constructor Details
ShareStatistics
public ShareStatistics(int shareUsageInGB)
Creates an instance of storage statistics for a Share.
Parameters:
ShareStatistics
public ShareStatistics(long shareUsageInBytes)
Creates an instance of storage statistics for a Share.
Parameters:
Method Details
getShareUsageInBytes
public long getShareUsageInBytes()
Get the size in bytes of the Share.
Returns:
getShareUsageInGB
public int getShareUsageInGB()
Get the size in GB of the Share.
Returns:
Applies to
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de