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() |
int | getShareUsageInGB() |
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()
Returns:
the size in bytes of the Share
getShareUsageInGB
public int getShareUsageInGB()
Returns:
the size in GB of the Share
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for