
org.testifyproject.github.dockerjava.api.command.StatsCmd Maven / Gradle / Ivy
package org.testifyproject.testifyproject.github.dockerjava.api.org.testifyproject.testifyprojectmand;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import org.testifyproject.testifyproject.github.dockerjava.api.model.Statistics;
/**
* Get container stats. The result of {@link Statistics} is handled asynchronously because the docker remote API will block when a container
* is stopped until the container is up again.
*/
public interface StatsCmd extends AsyncDockerCmd {
@CheckForNull
String getContainerId();
StatsCmd withContainerId(@Nonnull String containerId);
interface Exec extends DockerCmdAsyncExec {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy