com.github.dockerjava.api.command.AsyncDockerCmd Maven / Gradle / Ivy
/*
* Created on 17.06.2015
*/
package com.github.dockerjava.api.command;
import com.github.dockerjava.api.async.ResultCallback;
import com.github.dockerjava.api.async.ResultCallbackTemplate;
/**
*
*
* @author Marcus Linke
*
*/
public interface AsyncDockerCmd, A_RES_T> extends DockerCmd {
> T exec(T resultCallback);
default ResultCallbackTemplate, A_RES_T> start() {
return exec(new ResultCallback.Adapter<>());
}
}