com.github.dockerjava.api.model.MemoryStatsConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
package com.github.dockerjava.api.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.CheckForNull;
import java.io.Serializable;
/**
* Used in {@link Statistics}
*
* @author Yuting Liu
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class MemoryStatsConfig implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("usage")
private Long usage;
@JsonProperty("max_usage")
private Long maxUsage;
@JsonProperty("stats")
private StatsConfig stats;
@JsonProperty("limit")
private Long limit;
/**
* @see #usage
*/
@CheckForNull
public Long getUsage() {
return usage;
}
/**
* @see #maxUsage
*/
@CheckForNull
public Long getMaxUsage() {
return maxUsage;
}
/**
* @see #stats
*/
@CheckForNull
public StatsConfig getStats() {
return stats;
}
/**
* @see #limit
*/
@CheckForNull
public Long getLimit() {
return limit;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy