Search in sources :

Example 1 with LoadRunnable

use of com.linkedin.kafka.cruisecontrol.servlet.handler.async.runnable.LoadRunnable in project cruise-control by linkedin.

the class ClusterLoadRequest method handle.

@Override
protected OperationFuture handle(String uuid) {
    OperationFuture future = new OperationFuture("Get broker stats");
    pending(future.operationProgress());
    _asyncKafkaCruiseControl.sessionExecutor().submit(new LoadRunnable(_asyncKafkaCruiseControl, future, _parameters));
    return future;
}
Also used : LoadRunnable(com.linkedin.kafka.cruisecontrol.servlet.handler.async.runnable.LoadRunnable) OperationFuture(com.linkedin.kafka.cruisecontrol.servlet.handler.async.runnable.OperationFuture)

Aggregations

LoadRunnable (com.linkedin.kafka.cruisecontrol.servlet.handler.async.runnable.LoadRunnable)1 OperationFuture (com.linkedin.kafka.cruisecontrol.servlet.handler.async.runnable.OperationFuture)1