@InterfaceAudience.LimitedPrivate(value="Configuration") public class RegionServerFlushTableProcedureManager extends RegionServerProcedureManager
HRegionServer.| Modifier and Type | Class and Description |
|---|---|
class |
RegionServerFlushTableProcedureManager.FlushTableSubprocedureBuilder |
| Modifier and Type | Field and Description |
|---|---|
static int |
FLUSH_REQUEST_THREADS_DEFAULT |
static String |
FLUSH_REQUEST_THREADS_KEY |
static String |
FLUSH_REQUEST_WAKE_MILLIS_KEY |
static long |
FLUSH_TIMEOUT_MILLIS_DEFAULT |
static String |
FLUSH_TIMEOUT_MILLIS_KEY |
| Constructor and Description |
|---|
RegionServerFlushTableProcedureManager() |
| Modifier and Type | Method and Description |
|---|---|
Subprocedure |
buildSubprocedure(String table,
String family)
If in a running state, creates the specified subprocedure to flush table regions.
|
String |
getProcedureSignature()
Return the unique signature of the procedure.
|
void |
initialize(RegionServerServices rss)
Initialize this region server flush procedure manager Uses a zookeeper based member controller.
|
void |
start()
Start accepting flush table requests.
|
void |
stop(boolean force)
Close this and all running tasks
|
equals, hashCodepublic static final String FLUSH_REQUEST_THREADS_KEY
public static final int FLUSH_REQUEST_THREADS_DEFAULT
public static final String FLUSH_TIMEOUT_MILLIS_KEY
public static final long FLUSH_TIMEOUT_MILLIS_DEFAULT
public static final String FLUSH_REQUEST_WAKE_MILLIS_KEY
public RegionServerFlushTableProcedureManager()
public void start()
start in class RegionServerProcedureManagerpublic void stop(boolean force)
throws IOException
stop in class RegionServerProcedureManagerforce - forcefully stop all running tasksIOExceptionpublic Subprocedure buildSubprocedure(String table, String family)
table - table to flushfamily - column family within a tablepublic void initialize(RegionServerServices rss) throws org.apache.zookeeper.KeeperException
initialize in class RegionServerProcedureManagerrss - region serverorg.apache.zookeeper.KeeperException - if the zookeeper cannot be reachedpublic String getProcedureSignature()
ProcedureManagergetProcedureSignature in class ProcedureManagerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.