public static class StorageClusterStatusModel.Node.Region extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private long |
currentCompactedKVs |
private int |
memstoreSizeMB |
private byte[] |
name |
private long |
readRequestsCount |
private int |
rootIndexSizeKB |
private static long |
serialVersionUID |
private long |
storefileIndexSizeKB |
private int |
storefiles |
private int |
storefileSizeMB |
private int |
stores |
private long |
totalCompactingKVs |
private int |
totalStaticBloomSizeKB |
private int |
totalStaticIndexSizeKB |
private long |
writeRequestsCount |
Constructor and Description |
---|
Region()
Default constructor
|
Region(byte[] name)
Constructor
|
Region(byte[] name,
int stores,
int storefiles,
int storefileSizeMB,
int memstoreSizeMB,
long storefileIndexSizeKB,
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() |
long |
getStorefileIndexSizeKB() |
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 |
setStorefileIndexSizeKB(long storefileIndexSizeKB) |
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) |
private static final long serialVersionUID
private byte[] name
private int stores
private int storefiles
private int storefileSizeMB
private int memstoreSizeMB
private long storefileIndexSizeKB
private long readRequestsCount
private long writeRequestsCount
private int rootIndexSizeKB
private int totalStaticIndexSizeKB
private int totalStaticBloomSizeKB
private long totalCompactingKVs
private long currentCompactedKVs
public Region()
public Region(byte[] name)
name
- the region namepublic Region(byte[] name, int stores, int storefiles, int storefileSizeMB, int memstoreSizeMB, long storefileIndexSizeKB, 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 MBstorefileIndexSizeKB
- total size of store file indexes, in KBpublic byte[] getName()
public int getStores()
public int getStorefiles()
public int getStorefileSizeMB()
public int getMemStoreSizeMB()
public long getStorefileIndexSizeKB()
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 setStorefileIndexSizeKB(long storefileIndexSizeKB)
storefileIndexSizeKB
- total size of store file indexes, in KBCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.