org.apache.hadoop.hbase.regionserver
Class HRegionServer.MovedRegionsCleaner
java.lang.Object
org.apache.hadoop.hbase.util.HasThread
org.apache.hadoop.hbase.Chore
org.apache.hadoop.hbase.regionserver.HRegionServer.MovedRegionsCleaner
- All Implemented Interfaces:
- Runnable, Stoppable
- Enclosing class:
- HRegionServer
protected static class HRegionServer.MovedRegionsCleaner
- extends Chore
- implements Stoppable
Creates a Chore thread to clean the moved region cache.
Fields inherited from class org.apache.hadoop.hbase.Chore |
stopper |
Methods inherited from class org.apache.hadoop.hbase.util.HasThread |
getName, getThread, interrupt, isAlive, isInterrupted, join, join, join, setDaemon, setName, setPriority, setUncaughtExceptionHandler, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
stop
public void stop(String why)
- Description copied from interface:
Stoppable
- Stop this service.
- Specified by:
stop
in interface Stoppable
- Parameters:
why
- Why we're stopping.
isStopped
public boolean isStopped()
- Specified by:
isStopped
in interface Stoppable
- Returns:
- True if
Stoppable.stop(String)
has been closed.
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.