public class ReadAheadQueryResult extends HeaderResponse
Constructor and Description |
---|
ReadAheadQueryResult()
Constructor
|
ReadAheadQueryResult(String bucketName,
String prefix,
long consumedTime,
long finishedObjectNum,
long finishedSize,
String status)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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() |
getRequestId, getResponseHeaders, getStatusCode
public ReadAheadQueryResult()
public ReadAheadQueryResult(String bucketName, String prefix, long consumedTime, long finishedObjectNum, long finishedSize, String status)
bucketName
- Bucket nameprefix
- Name prefix of objects to be read aheadconsumedTime
- Consumed time (seconds)finishedObjectNum
- Number of finished objectsfinishedSize
- Size of finished objectsstatus
- Task statuspublic String getBucketName()
public void setBucketName(String bucketName)
bucketName
- Bucket namepublic String getPrefix()
public void setPrefix(String prefix)
prefix
- Name prefix of objects to be read aheadpublic long getConsumedTime()
public void setConsumedTime(long consumedTime)
consumedTime
- Consumed time (seconds)public long getFinishedObjectNum()
public void setFinishedObjectNum(long finishedObjectNum)
finishedObjectNum
- Number of finished objectspublic long getFinishedSize()
public void setFinishedSize(long finishedSize)
finishedSize
- Size of finished objectspublic String getStatus()
public void setStatus(String status)
status
- Task statuspublic String toString()
toString
in class HeaderResponse
Copyright © 2019. All rights reserved.