![JAR search and dependency download from the Maven repository](/logo.png)
org.voovan.docker.message.service.atom.Resource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JDocker Show documentation
Show all versions of JDocker Show documentation
By encapsulating the Docker API enables developers to use Java can quickly developed the control and operation of the Docker application, using streaming operation, simple and clear.
The newest version!
package org.voovan.docker.message.service.atom;
/**
*
* @author helyho
*
* DockerFly Framework.
* WebSite: https://git.oschina.net/helyho/JDocker
* Licence: Apache v2 License
*/
public class Resource {
private ResourcePolicy limits;
private ResourcePolicy reservations;
public Resource() {
limits = new ResourcePolicy();
reservations = new ResourcePolicy();
}
public ResourcePolicy getLimits() {
return limits;
}
public void setLimits(ResourcePolicy limits) {
this.limits = limits;
}
public ResourcePolicy getReservations() {
return reservations;
}
public void setReservations(ResourcePolicy reservations) {
this.reservations = reservations;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy