@InterfaceAudience.LimitedPrivate(value="Configuration") public class RegionServerFlushTableProcedureManager extends RegionServerProcedureManager
HRegionServer.| 限定符和类型 | 类和说明 |
|---|---|
class |
RegionServerFlushTableProcedureManager.FlushTableSubprocedureBuilder |
| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 构造器和说明 |
|---|
RegionServerFlushTableProcedureManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
Subprocedure |
buildSubprocedure(String table)
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 int FLUSH_REQUEST_THREADS_DEFAULT
public static final long FLUSH_TIMEOUT_MILLIS_DEFAULT
public void start()
start 在类中 RegionServerProcedureManagerpublic void stop(boolean force)
throws IOException
stop 在类中 RegionServerProcedureManagerforce - forcefully stop all running tasksIOExceptionpublic Subprocedure buildSubprocedure(String table)
table - public void initialize(RegionServerServices rss) throws org.apache.zookeeper.KeeperException
initialize 在类中 RegionServerProcedureManagerrss - region serverorg.apache.zookeeper.KeeperException - if the zookeeper cannot be reachedpublic String getProcedureSignature()
ProcedureManagergetProcedureSignature 在类中 ProcedureManagerCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.