com.github.dockerjava.api.command.UpdateContainerCmd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.github.dockerjava.api.command;
import com.github.dockerjava.api.model.UpdateContainerResponse;
import com.github.dockerjava.core.RemoteApiVersion;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
* @author Kanstantsin Shautsou
* @since {@link RemoteApiVersion#VERSION_1_22}
*/
public interface UpdateContainerCmd extends SyncDockerCmd {
@CheckForNull
String getContainerId();
@CheckForNull
Integer getBlkioWeight();
UpdateContainerCmd withBlkioWeight(Integer blkioWeight);
UpdateContainerCmd withContainerId(@Nonnull String containerId);
@CheckForNull
Integer getCpuPeriod();
UpdateContainerCmd withCpuPeriod(Integer cpuPeriod);
@CheckForNull
Integer getCpuQuota();
UpdateContainerCmd withCpuQuota(Integer cpuQuota);
@CheckForNull
String getCpusetCpus();
UpdateContainerCmd withCpusetCpus(String cpusetCpus);
@CheckForNull
String getCpusetMems();
UpdateContainerCmd withCpusetMems(String cpusetMems);
@CheckForNull
Integer getCpuShares();
UpdateContainerCmd withCpuShares(Integer cpuShares);
@CheckForNull
Long getKernelMemory();
UpdateContainerCmd withKernelMemory(Long kernelMemory);
@CheckForNull
Long getMemory();
UpdateContainerCmd withMemory(Long memory);
@CheckForNull
Long getMemoryReservation();
UpdateContainerCmd withMemoryReservation(Long memoryReservation);
@CheckForNull
Long getMemorySwap();
UpdateContainerCmd withMemorySwap(Long memorySwap);
interface Exec extends DockerCmdSyncExec {
}
}