org.apache.hadoop.hbase.regionserver
Class LogFlusher

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.hadoop.hbase.Chore
          extended by org.apache.hadoop.hbase.regionserver.LogFlusher
All Implemented Interfaces:
Runnable

public class LogFlusher
extends Chore

LogFlusher is a Chore that wakes every threadWakeInterval and calls the HLog to do an optional sync if there are unflushed entries, and the optionalFlushInterval has passed since the last flush.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.Chore
stop
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
protected  void chore()
          Look for chores.
 
Methods inherited from class org.apache.hadoop.hbase.Chore
initialChore, run, sleep
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

chore

protected void chore()
Description copied from class: Chore
Look for chores. If any found, do them else just return.

Specified by:
chore in class Chore


Copyright © 2008 The Apache Software Foundation