|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.apache.hadoop.hbase.regionserver.CompactSplitThread
public class CompactSplitThread
Compact region on request and then run split if appropriate
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static int |
PRIORITY_USER
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
CompactSplitThread(HRegionServer server)
|
|
| Method Summary | |
|---|---|
int |
getCompactionQueueSize()
Returns the current size of the queue containing regions that are processed. |
int |
getRegionSplitLimit()
|
void |
requestCompaction(HRegion r,
boolean force,
java.lang.String why,
int priority)
|
void |
requestCompaction(HRegion r,
java.lang.String why)
|
void |
requestCompaction(HRegion r,
java.lang.String why,
int p)
|
void |
run()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int PRIORITY_USER
| Constructor Detail |
|---|
public CompactSplitThread(HRegionServer server)
server - | Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
public void requestCompaction(HRegion r,
java.lang.String why)
requestCompaction in interface CompactionRequestorr - Region to compactwhy - Why compaction was requested -- used in debug messages
public void requestCompaction(HRegion r,
java.lang.String why,
int p)
requestCompaction in interface CompactionRequestorr - Region to compactwhy - Why compaction was requested -- used in debug messagesp - Priority of this compaction. minHeap. <=0 is critical
public void requestCompaction(HRegion r,
boolean force,
java.lang.String why,
int priority)
r - HRegion store belongs toforce - Whether next compaction should be majorwhy - Why compaction requested -- used in debug messagespublic int getCompactionQueueSize()
public int getRegionSplitLimit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||