com.github.dockerjava.api.model.CpuUsageConfig 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.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.CheckForNull;
import java.io.Serializable;
import java.util.List;
/**
* Used in {@link Statistics}
*
* @author Yuting Liu
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class CpuUsageConfig implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("total_usage")
private Long totalUsage;
@JsonProperty("percpu_usage")
private List percpuUsage;
@JsonProperty("usage_in_kernelmode")
private Long usageInKernelmode;
@JsonProperty("usage_in_usermode")
private Long usageInUsermode;
/**
* @see #totalUsage
*/
@CheckForNull
public Long getTotalUsage() {
return totalUsage;
}
/**
* @see #percpuUsage
*/
@CheckForNull
public List getPercpuUsage() {
return percpuUsage;
}
/**
* @see #usageInKernelmode
*/
@CheckForNull
public Long getUsageInKernelmode() {
return usageInKernelmode;
}
/**
* @see #usageInUsermode
*/
@CheckForNull
public Long getUsageInUsermode() {
return usageInUsermode;
}
}