All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dockerjava.api.command.AsyncDockerCmd Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
/*
 * 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 start() {
        return exec(new ResultCallback.Adapter<>());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy