@InterfaceAudience.Private public class GeneralBulkAssigner extends BulkAssigner
GeneralBulkAssigner.SingleServerBulkAssigner.server| Constructor and Description |
|---|
GeneralBulkAssigner(Server server,
java.util.Map<ServerName,java.util.List<HRegionInfo>> bulkPlan,
AssignmentManager am,
boolean waitTillAllAssigned) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getThreadNamePrefix() |
protected long |
getTimeoutOnRIT() |
protected java.lang.Thread.UncaughtExceptionHandler |
getUncaughtExceptionHandler() |
protected void |
populatePool(java.util.concurrent.ExecutorService pool) |
protected boolean |
waitUntilDone(long timeout)
Wait until bulk assign is done.
|
bulkAssign, bulkAssign, getThreadCountpublic GeneralBulkAssigner(Server server, java.util.Map<ServerName,java.util.List<HRegionInfo>> bulkPlan, AssignmentManager am, boolean waitTillAllAssigned)
protected java.lang.String getThreadNamePrefix()
getThreadNamePrefix in class BulkAssignerprotected void populatePool(java.util.concurrent.ExecutorService pool)
populatePool in class BulkAssignerprotected boolean waitUntilDone(long timeout)
throws java.lang.InterruptedException
BulkAssignerwaitUntilDone in class BulkAssignertimeout - How long to wait.java.lang.InterruptedExceptionprotected long getTimeoutOnRIT()
getTimeoutOnRIT in class BulkAssignerprotected java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler()
getUncaughtExceptionHandler in class BulkAssigner