@InterfaceAudience.Private public class GeneralBulkAssigner extends BulkAssigner
GeneralBulkAssigner.SingleServerBulkAssigner.server| Constructor and Description |
|---|
GeneralBulkAssigner(Server server,
Map<ServerName,List<HRegionInfo>> bulkPlan,
AssignmentManager am,
boolean waitTillAllAssigned) |
| Modifier and Type | Method and Description |
|---|---|
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 in class BulkAssignerprotected void populatePool(ExecutorService pool)
populatePool in class BulkAssignerprotected boolean waitUntilDone(long timeout)
throws InterruptedException
BulkAssignerwaitUntilDone in class BulkAssignertimeout - How long to wait.InterruptedExceptionprotected long getTimeoutOnRIT()
getTimeoutOnRIT in class BulkAssignerprotected Thread.UncaughtExceptionHandler getUncaughtExceptionHandler()
getUncaughtExceptionHandler in class BulkAssignerCopyright © 2014 The Apache Software Foundation. All rights reserved.