Search in sources :

Example 1 with GetStateRunnable

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

the class CruiseControlStateRequest method handle.

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

Aggregations

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