Class StorageClusterStatusModel.Node.Region
java.lang.Object
org.apache.hadoop.hbase.rest.model.StorageClusterStatusModel.Node.Region
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StorageClusterStatusModel.Node
Represents a region hosted on a region server.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private long
private int
private byte[]
private long
private int
private static final long
private long
private int
private int
private int
private long
private int
private int
private long
-
Constructor Summary
ConstructorDescriptionRegion()
Default constructorRegion
(byte[] name) ConstructorRegion
(byte[] name, int stores, int storefiles, int storefileSizeMB, int memstoreSizeMB, long storefileIndexSizeKB, long readRequestsCount, long cpRequestsCount, long writeRequestsCount, int rootIndexSizeKB, int totalStaticIndexSizeKB, int totalStaticBloomSizeKB, long totalCompactingKVs, long currentCompactedKVs) Constructor -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the current total read requests made to regionlong
Returns The number of current compacted key-valuesint
Returns memstore size, in MBbyte[]
getName()
Returns the region namelong
Returns the current total read requests made to regionint
Returns The current total size of root-level indexes for the region, in KB.long
Returns the total size of store file indexes, in KBint
Returns the number of store filesint
Returns the total size of store files, in MBint
Returns the number of storeslong
Returns The total number of compacting key-valuesint
Returns The total size of static bloom, in KBint
Returns The total size of static index, in KBlong
Returns the current total write requests made to regionvoid
setCpRequestsCount
(long cpRequestsCount) 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)
-
Field Details
-
serialVersionUID
- See Also:
-
name
-
stores
-
storefiles
-
storefileSizeMB
-
memstoreSizeMB
-
storefileIndexSizeKB
-
readRequestsCount
-
cpRequestsCount
-
writeRequestsCount
-
rootIndexSizeKB
-
totalStaticIndexSizeKB
-
totalStaticBloomSizeKB
-
totalCompactingKVs
-
currentCompactedKVs
-
-
Constructor Details
-
Region
public Region()Default constructor -
Region
Constructor- Parameters:
name
- the region name
-
Region
public Region(byte[] name, int stores, int storefiles, int storefileSizeMB, int memstoreSizeMB, long storefileIndexSizeKB, long readRequestsCount, long cpRequestsCount, long writeRequestsCount, int rootIndexSizeKB, int totalStaticIndexSizeKB, int totalStaticBloomSizeKB, long totalCompactingKVs, long currentCompactedKVs) Constructor- Parameters:
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 KB
-
-
Method Details
-
getName
Returns the region name -
getStores
Returns the number of stores -
getStorefiles
Returns the number of store files -
getStorefileSizeMB
Returns the total size of store files, in MB -
getMemStoreSizeMB
Returns memstore size, in MB -
getStorefileIndexSizeKB
Returns the total size of store file indexes, in KB -
getReadRequestsCount
Returns the current total read requests made to region -
getCpRequestsCount
Returns the current total read requests made to region -
getWriteRequestsCount
Returns the current total write requests made to region -
getRootIndexSizeKB
Returns The current total size of root-level indexes for the region, in KB. -
getTotalStaticIndexSizeKB
Returns The total size of static index, in KB -
getTotalStaticBloomSizeKB
Returns The total size of static bloom, in KB -
getTotalCompactingKVs
Returns The total number of compacting key-values -
getCurrentCompactedKVs
Returns The number of current compacted key-values -
setReadRequestsCount
- Parameters:
readRequestsCount
- The current total read requests made to region
-
setCpRequestsCount
- Parameters:
cpRequestsCount
- The current total read requests made to region
-
setRootIndexSizeKB
- Parameters:
rootIndexSizeKB
- The current total size of root-level indexes for the region, in KB
-
setWriteRequestsCount
- Parameters:
writeRequestsCount
- The current total write requests made to region
-
setCurrentCompactedKVs
- Parameters:
currentCompactedKVs
- The completed count of key values in currently running compaction
-
setTotalCompactingKVs
- Parameters:
totalCompactingKVs
- The total compacting key values in currently running compaction
-
setTotalStaticBloomSizeKB
- Parameters:
totalStaticBloomSizeKB
- The total size of all Bloom filter blocks, not just loaded into the block cache, in KB.
-
setTotalStaticIndexSizeKB
- Parameters:
totalStaticIndexSizeKB
- The total size of all index blocks, not just the root level, in KB.
-
setName
- Parameters:
name
- the region name
-
setStores
- Parameters:
stores
- the number of stores
-
setStorefiles
- Parameters:
storefiles
- the number of store files
-
setStorefileSizeMB
- Parameters:
storefileSizeMB
- total size of store files, in MB
-
setMemStoreSizeMB
- Parameters:
memstoreSizeMB
- memstore size, in MB
-
setStorefileIndexSizeKB
- Parameters:
storefileIndexSizeKB
- total size of store file indexes, in KB
-