@InterfaceAudience.Private public class GeneralBulkAssigner extends BulkAssigner
GeneralBulkAssigner.SingleServerBulkAssigner.server| 构造器和说明 |
|---|
GeneralBulkAssigner(Server server,
Map<ServerName,List<HRegionInfo>> bulkPlan,
AssignmentManager am,
boolean waitTillAllAssigned) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getThreadNamePrefix() |
protected long |
getTimeoutOnRIT() |
protected Thread.UncaughtExceptionHandler |
getUncaughtExceptionHandler() |
protected void |
populatePool(ExecutorService pool) |
protected boolean |
waitUntilDone(long timeout)
Wait until bulk assign is done.
|
bulkAssign, bulkAssign, getThreadCountpublic GeneralBulkAssigner(Server server, Map<ServerName,List<HRegionInfo>> bulkPlan, AssignmentManager am, boolean waitTillAllAssigned)
protected String getThreadNamePrefix()
getThreadNamePrefix 在类中 BulkAssignerprotected void populatePool(ExecutorService pool)
populatePool 在类中 BulkAssignerprotected boolean waitUntilDone(long timeout)
throws InterruptedException
BulkAssignerwaitUntilDone 在类中 BulkAssignertimeout - How long to wait.InterruptedExceptionprotected long getTimeoutOnRIT()
getTimeoutOnRIT 在类中 BulkAssignerprotected Thread.UncaughtExceptionHandler getUncaughtExceptionHandler()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.