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:
shareUsageInGB
- Size in GB of the Share
ShareStatistics
public ShareStatistics(long shareUsageInBytes)
Creates an instance of storage statistics for a Share.
Parameters:
shareUsageInBytes
- Size in bytes of the Share
Method Details
getShareUsageInBytes
public long getShareUsageInBytes()
Get the size in bytes of the Share.
Returns:
the size in bytes of the Share
getShareUsageInGB
public int getShareUsageInGB()
Get the size in GB of the Share.
Returns:
the size in GB of the Share
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java