public static class StorageClusterStatusModel.Node.Region extends Object implements Serializable
Constructor and Description |
---|
StorageClusterStatusModel.Node.Region()
Default constructor
|
StorageClusterStatusModel.Node.Region(byte[] name)
Constructor
|
StorageClusterStatusModel.Node.Region(byte[] name,
int stores,
int storefiles,
int storefileSizeMB,
int memstoreSizeMB,
int storefileIndexSizeMB,
long readRequestsCount,
long writeRequestsCount,
int rootIndexSizeKB,
int totalStaticIndexSizeKB,
int totalStaticBloomSizeKB,
long totalCompactingKVs,
long currentCompactedKVs)
Constructor
|
Modifier and Type | Method and Description |
---|---|
long |
getCurrentCompactedKVs() |
int |
getMemstoreSizeMB() |
byte[] |
getName() |
long |
getReadRequestsCount() |
int |
getRootIndexSizeKB() |
int |
getStorefileIndexSizeMB() |
int |
getStorefiles() |
int |
getStorefileSizeMB() |
int |
getStores() |
long |
getTotalCompactingKVs() |
int |
getTotalStaticBloomSizeKB() |
int |
getTotalStaticIndexSizeKB() |
long |
getWriteRequestsCount() |
void |
setCurrentCompactedKVs(long currentCompactedKVs) |
void |
setMemstoreSizeMB(int memstoreSizeMB) |
void |
setName(byte[] name) |
void |
setReadRequestsCount(long readRequestsCount) |
void |
setRootIndexSizeKB(int rootIndexSizeKB) |
void |
setStorefileIndexSizeMB(int storefileIndexSizeMB) |
void |
setStorefiles(int storefiles) |
void |
setStorefileSizeMB(int storefileSizeMB) |
void |
setStores(int stores) |
void |
setTotalCompactingKVs(long totalCompactingKVs) |
void |
setTotalStaticBloomSizeKB(int totalStaticBloomSizeKB) |
void |
setTotalStaticIndexSizeKB(int totalStaticIndexSizeKB) |
void |
setWriteRequestsCount(long writeRequestsCount) |
public StorageClusterStatusModel.Node.Region()
public StorageClusterStatusModel.Node.Region(byte[] name)
name
- the region namepublic StorageClusterStatusModel.Node.Region(byte[] name, int stores, int storefiles, int storefileSizeMB, int memstoreSizeMB, int storefileIndexSizeMB, long readRequestsCount, long writeRequestsCount, int rootIndexSizeKB, int totalStaticIndexSizeKB, int totalStaticBloomSizeKB, long totalCompactingKVs, long currentCompactedKVs)
name
- the region namestores
- the number of storesstorefiles
- the number of store filesstorefileSizeMB
- total size of store files, in MBmemstoreSizeMB
- total size of memstore, in MBstorefileIndexSizeMB
- total size of store file indexes, in MBpublic byte[] getName()
public int getStores()
public int getStorefiles()
public int getStorefileSizeMB()
public int getMemstoreSizeMB()
public int getStorefileIndexSizeMB()
public long getReadRequestsCount()
public long getWriteRequestsCount()
public int getRootIndexSizeKB()
public int getTotalStaticIndexSizeKB()
public int getTotalStaticBloomSizeKB()
public long getTotalCompactingKVs()
public long getCurrentCompactedKVs()
public void setReadRequestsCount(long readRequestsCount)
readRequestsCount
- The current total read requests made to regionpublic void setRootIndexSizeKB(int rootIndexSizeKB)
rootIndexSizeKB
- The current total size of root-level indexes
for the region, in KBpublic void setWriteRequestsCount(long writeRequestsCount)
writeRequestsCount
- The current total write requests made to regionpublic void setCurrentCompactedKVs(long currentCompactedKVs)
currentCompactedKVs
- The completed count of key values
in currently running compactionpublic void setTotalCompactingKVs(long totalCompactingKVs)
totalCompactingKVs
- The total compacting key values
in currently running compactionpublic void setTotalStaticBloomSizeKB(int totalStaticBloomSizeKB)
totalStaticBloomSizeKB
- The total size of all Bloom filter blocks,
not just loaded into the block cache, in KB.public void setTotalStaticIndexSizeKB(int totalStaticIndexSizeKB)
totalStaticIndexSizeKB
- The total size of all index blocks,
not just the root level, in KB.public void setName(byte[] name)
name
- the region namepublic void setStores(int stores)
stores
- the number of storespublic void setStorefiles(int storefiles)
storefiles
- the number of store filespublic void setStorefileSizeMB(int storefileSizeMB)
storefileSizeMB
- total size of store files, in MBpublic void setMemstoreSizeMB(int memstoreSizeMB)
memstoreSizeMB
- memstore size, in MBpublic void setStorefileIndexSizeMB(int storefileIndexSizeMB)
storefileIndexSizeMB
- total size of store file indexes, in MBCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.