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, getUncaughtExceptionHandler
private 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 BulkAssigner
protected boolean waitUntilDone(long timeout) throws InterruptedException
BulkAssigner
waitUntilDone
in class BulkAssigner
timeout
- How long to wait.InterruptedException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.