@NotThreadSafe public abstract class AbstractExecutorReplicaMovement extends Object
Executor
Constructor and Description |
---|
AbstractExecutorReplicaMovement(String executionUuid,
ExecutionTaskManager executionTaskManager,
Set<Integer> recentlyRemovedBrokers,
com.linkedin.kafka.cruisecontrol.executor.ReplicationThrottleHelper throttleHelper,
org.apache.kafka.clients.admin.ConfluentAdmin adminClient,
SbkAdminUtils adminUtils,
AtomicBoolean stopRequested) |
Modifier and Type | Method and Description |
---|---|
void |
maybeReexecuteTasks()
Conditionally re-executes the on-going tasks
|
abstract void |
move(Executor.ExecutionTaskWaiter taskWaiter)
Moves the replicas according to the specific movement
|
public AbstractExecutorReplicaMovement(String executionUuid, ExecutionTaskManager executionTaskManager, Set<Integer> recentlyRemovedBrokers, com.linkedin.kafka.cruisecontrol.executor.ReplicationThrottleHelper throttleHelper, org.apache.kafka.clients.admin.ConfluentAdmin adminClient, SbkAdminUtils adminUtils, AtomicBoolean stopRequested)
public abstract void move(Executor.ExecutionTaskWaiter taskWaiter) throws InterruptedException
taskWaiter
- InterruptedException
public void maybeReexecuteTasks()