public class BucketList extends Object
构造器和说明 |
---|
BucketList() |
限定符和类型 | 方法和说明 |
---|---|
List<String> |
getBuckets()
获取bucket列表
|
int |
getBucketsCount()
获取bucket数量
|
int |
getBucketsTotalObjectCount()
获取所有bucket中文件的总数
|
int |
getBucketsUsedSize()
获取所有bucket占用的大小
|
String |
getTimestamp()
设置时间戳
|
void |
setBuckets(List<String> buckets)
设置bucket列表
|
void |
setBucketsCount(int bucketsCount)
设置bucket数量
|
void |
setBucketsTotalObjectCount(int bucketsTotalObjectCount)
设置所有的bucket文件总数
|
void |
setBucketsUsedSize(int bucketsUsedSize)
设置所有bucket占用的大小
|
void |
setTimestamp(String timestamp)
获取时间戳
|
String |
toString() |
public int getBucketsCount()
public void setBucketsCount(int bucketsCount)
bucketsCount
- public String getTimestamp()
public void setTimestamp(String timestamp)
timestamp
- public int getBucketsUsedSize()
public void setBucketsUsedSize(int bucketsUsedSize)
bucketsUsedSize
- public int getBucketsTotalObjectCount()
public void setBucketsTotalObjectCount(int bucketsTotalObjectCount)
bucketsTotalObjectCount
- Copyright © 2016. All rights reserved.