com.aliyun.oss.model

## 类 BucketStat

- java.lang.Object
- - com.aliyun.oss.model.GenericResult
  - - com.aliyun.oss.model.BucketStat

-     public class BucketStat
      extends GenericResult

  Bucket Stat It contains the current bucket's occupant size and file count.

- - ### 构造器概要

    构造器
    构造器和说明
    `BucketStat(Long storageSize, Long objectCount, Long multipartUploadCount)`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `Long` | `getMultipartUploadCount()` Gets the unfinished parts uploading count.
    `Long` | `getObjectCount()` Gets the object count under the bucket.
    `Long` | `getStorageSize()` Gets the used storage size in bytes.

    - ### 从类继承的方法 com.aliyun.oss.model.GenericResult

      `getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### BucketStat

          public BucketStat(Long storageSize,
                    Long objectCount,
                    Long multipartUploadCount)

  - ### 方法详细资料

    - #### getStorageSize

          public Long getStorageSize()

      Gets the used storage size in bytes.
      返回:
        Bucket used storage size.

    - #### getObjectCount

          public Long getObjectCount()

      Gets the object count under the bucket.
      返回:
        Object count

    - #### getMultipartUploadCount

          public Long getMultipartUploadCount()

      Gets the unfinished parts uploading count.
      返回:
        The unfinished parts uploading count.

Copyright © 2020. All Rights Reserved.