com.obs.services.model

## 类 ReadAheadQueryResult

- java.lang.Object
- - com.obs.services.internal.InternalHeaderResponse
  - - com.obs.services.model.HeaderResponse
    - - com.obs.services.model.ReadAheadQueryResult

-     public class ReadAheadQueryResult
      extends HeaderResponse

  Response to the request for querying the progress of the read-ahead task

- - ### 字段概要

    - ### 从类继承的字段 com.obs.services.internal.InternalHeaderResponse

      `responseHeaders, statusCode`

  - ### 构造器概要

    构造器
    构造器和说明
    `ReadAheadQueryResult()` Constructor
    `ReadAheadQueryResult(String bucketName, String prefix, long consumedTime, long finishedObjectNum, long finishedSize, String status)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Obtain the bucket name.
    `long` | `getConsumedTime()` Obtain the consumed time (seconds)
    `long` | `getFinishedObjectNum()` Obtain the number of finished objects.
    `long` | `getFinishedSize()` Obtain the size of finished objects.
    `String` | `getPrefix()` Obtain the name prefix of objects to be read ahead.
    `String` | `getStatus()` Obtain the task status.
    `void` | `setBucketName(String bucketName)` Set the bucket name.
    `void` | `setConsumedTime(long consumedTime)` Set the consumed time (seconds)
    `void` | `setFinishedObjectNum(long finishedObjectNum)` Set the number of finished objects.
    `void` | `setFinishedSize(long finishedSize)` Set the size of finished objects.
    `void` | `setPrefix(String prefix)` Set the name prefix of objects to be read ahead.
    `void` | `setStatus(String status)` Set the task status.
    `String` | `toString()`

    - ### 从类继承的方法 com.obs.services.model.HeaderResponse

      `getRequestId, getResponseHeaders, getStatusCode`

    - ### 从类继承的方法 com.obs.services.internal.InternalHeaderResponse

      `setResponseHeaders, setStatusCode`

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

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

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

    - #### ReadAheadQueryResult

          public ReadAheadQueryResult()

      Constructor

    - #### ReadAheadQueryResult

          public ReadAheadQueryResult(String bucketName,
                                      String prefix,
                                      long consumedTime,
                                      long finishedObjectNum,
                                      long finishedSize,
                                      String status)

      Constructor
      参数:
        `bucketName` - Bucket name
        `prefix` - Name prefix of objects to be read ahead
        `consumedTime` - Consumed time (seconds)
        `finishedObjectNum` - Number of finished objects
        `finishedSize` - Size of finished objects
        `status` - Task status

  - ### 方法详细资料

    - #### getBucketName

          public String getBucketName()

      Obtain the bucket name.
      返回:
        Bucket name

    - #### setBucketName

          public void setBucketName(String bucketName)

      Set the bucket name.
      参数:
        `bucketName` - Bucket name

    - #### getPrefix

          public String getPrefix()

      Obtain the name prefix of objects to be read ahead.
      返回:
        Name prefix of objects to be read ahead

    - #### setPrefix

          public void setPrefix(String prefix)

      Set the name prefix of objects to be read ahead.
      参数:
        `prefix` - Name prefix of objects to be read ahead

    - #### getConsumedTime

          public long getConsumedTime()

      Obtain the consumed time (seconds)
      返回:
        Consumed time (seconds)

    - #### setConsumedTime

          public void setConsumedTime(long consumedTime)

      Set the consumed time (seconds)
      参数:
        `consumedTime` - Consumed time (seconds)

    - #### getFinishedObjectNum

          public long getFinishedObjectNum()

      Obtain the number of finished objects.
      返回:
        Number of finished objects

    - #### setFinishedObjectNum

          public void setFinishedObjectNum(long finishedObjectNum)

      Set the number of finished objects.
      参数:
        `finishedObjectNum` - Number of finished objects

    - #### getFinishedSize

          public long getFinishedSize()

      Obtain the size of finished objects.
      返回:
        Size of finished objects

    - #### setFinishedSize

          public void setFinishedSize(long finishedSize)

      Set the size of finished objects.
      参数:
        `finishedSize` - Size of finished objects

    - #### getStatus

          public String getStatus()

      Obtain the task status.
      返回:
        Task status

    - #### setStatus

          public void setStatus(String status)

      Set the task status.
      参数:
        `status` - Task status

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `HeaderResponse`

Copyright © 2021. All rights reserved.