类 ReadAheadQueryResult
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.ReadAheadQueryResult
Response to the request for querying the progress of the read-ahead task
-
字段概要
字段从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
originalHeaders, responseHeaders, statusCode -
构造器概要
构造器构造器说明ConstructorReadAheadQueryResult(String bucketName, String prefix, long consumedTime, long finishedObjectNum, long finishedSize, String status) Constructor -
方法概要
修饰符和类型方法说明Obtain the bucket name.longObtain the consumed time (seconds)longObtain the number of finished objects.longObtain the size of finished objects.Obtain the name prefix of objects to be read ahead.Obtain the task status.voidsetBucketName(String bucketName) Set the bucket name.voidsetConsumedTime(long consumedTime) Set the consumed time (seconds)voidsetFinishedObjectNum(long finishedObjectNum) Set the number of finished objects.voidsetFinishedSize(long finishedSize) Set the size of finished objects.voidSet the name prefix of objects to be read ahead.voidSet the task status.toString()从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
getOriginalHeaders, getRequestId, getResponseHeaders, getStatusCode从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
setOriginalHeaders, setResponseHeaders, setStatusCode
-
字段详细资料
-
bucketName
-
prefix
-
consumedTime
private long consumedTime -
finishedObjectNum
private long finishedObjectNum -
finishedSize
private long finishedSize -
status
-
-
构造器详细资料
-
ReadAheadQueryResult
public ReadAheadQueryResult()Constructor -
ReadAheadQueryResult
public ReadAheadQueryResult(String bucketName, String prefix, long consumedTime, long finishedObjectNum, long finishedSize, String status) Constructor- 参数:
bucketName- Bucket nameprefix- Name prefix of objects to be read aheadconsumedTime- Consumed time (seconds)finishedObjectNum- Number of finished objectsfinishedSize- Size of finished objectsstatus- Task status
-
-
方法详细资料
-
getBucketName
Obtain the bucket name.- 返回:
- Bucket name
-
setBucketName
Set the bucket name.- 参数:
bucketName- Bucket name
-
getPrefix
Obtain the name prefix of objects to be read ahead.- 返回:
- Name prefix of objects to be read ahead
-
setPrefix
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
Obtain the task status.- 返回:
- Task status
-
setStatus
Set the task status.- 参数:
status- Task status
-
toString
- 覆盖:
toString在类中HeaderResponse
-