use of com.linkedin.kafka.cruisecontrol.servlet.handler.async.runnable.PartitionLoadRunnable in project cruise-control by linkedin.
the class PartitionLoadRequest method handle.
@Override
protected OperationFuture handle(String uuid) {
OperationFuture future = new OperationFuture(String.format("Get partition load from %d to %d", _parameters.startMs(), _parameters.endMs()));
pending(future.operationProgress());
_asyncKafkaCruiseControl.sessionExecutor().submit(new PartitionLoadRunnable(_asyncKafkaCruiseControl, future, _parameters));
return future;
}
Aggregations