|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.rest.model.StorageClusterStatusModel.Node.Region
public static class StorageClusterStatusModel.Node.Region
Represents a region hosted on a region server.
Constructor Summary | |
---|---|
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)
Constructor |
Method Summary | |
---|---|
int |
getMemstoreSizeMB()
|
byte[] |
getName()
|
int |
getStorefileIndexSizeMB()
|
int |
getStorefiles()
|
int |
getStorefileSizeMB()
|
int |
getStores()
|
void |
setMemstoreSizeMB(int memstoreSizeMB)
|
void |
setName(byte[] name)
|
void |
setStorefileIndexSizeMB(int storefileIndexSizeMB)
|
void |
setStorefiles(int storefiles)
|
void |
setStorefileSizeMB(int storefileSizeMB)
|
void |
setStores(int stores)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)
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 MBMethod Detail |
---|
public byte[] getName()
public int getStores()
public int getStorefiles()
public int getStorefileSizeMB()
public int getMemstoreSizeMB()
public int getStorefileIndexSizeMB()
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 MB
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |