Class ShareStatistics


  • public final class ShareStatistics
    extends Object
    Contains statistics about a Share in the storage File service.
    • Constructor Detail

      • 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 Detail

      • getShareUsageInGB

        public int getShareUsageInGB()
        Returns:
        the size in GB of the Share
      • getShareUsageInBytes

        public long getShareUsageInBytes()
        Returns:
        the size in bytes of the Share