private static class DisableTableProcedure.BulkDisabler extends BulkAssigner
| Modifier and Type | Field and Description |
|---|---|
private AssignmentManager |
assignmentManager |
private List<HRegionInfo> |
regions |
private TableName |
tableName |
private int |
waitingTimeForEvents |
server| Constructor and Description |
|---|
DisableTableProcedure.BulkDisabler(MasterProcedureEnv env,
TableName tableName,
List<HRegionInfo> regions) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
populatePool(ExecutorService pool) |
protected boolean |
waitUntilDone(long timeout)
Wait until bulk assign is done.
|
bulkAssign, bulkAssign, getThreadCount, getThreadNamePrefix, getTimeoutOnRIT, getUncaughtExceptionHandlerprivate final AssignmentManager assignmentManager
private final List<HRegionInfo> regions
private final TableName tableName
private final int waitingTimeForEvents
public DisableTableProcedure.BulkDisabler(MasterProcedureEnv env, TableName tableName, List<HRegionInfo> regions)
protected void populatePool(ExecutorService pool)
populatePool in class BulkAssignerprotected boolean waitUntilDone(long timeout)
throws InterruptedException
BulkAssignerwaitUntilDone in class BulkAssignertimeout - How long to wait.InterruptedExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.