Search in sources :

Example 1 with ProposalsRunnable

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

the class ProposalsRequest method handle.

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

Aggregations

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