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

org.voovan.docker.message.service.atom.ResourcePolicy Maven / Gradle / Ivy

Go to download

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 ResourcePolicy { private Long nanoCPUs; private Long memoryBytes; public ResourcePolicy() { nanoCPUs = 0L; memoryBytes = 0L; } public void setNanoCPUs(Long nanoCPUs) { this.nanoCPUs = nanoCPUs; } public Long getNanoCPUs() { return this.nanoCPUs; } public void setMemoryBytes(Long memoryBytes) { this.memoryBytes = memoryBytes; } public Long getMemoryBytes() { return this.memoryBytes; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy