com.github.dockerjava.api.model.BlkioStatsConfig 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 org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.annotation.CheckForNull;
import java.io.Serializable;
import java.util.List;
/**
* Used in {@link Statistics}
*
* @author Yuting Liu
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class BlkioStatsConfig implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("io_service_bytes_recursive")
private List ioServiceBytesRecursive;
@JsonProperty("io_serviced_recursive")
private List ioServicedRecursive;
@JsonProperty("io_queue_recursive")
private List ioQueueRecursive;
@JsonProperty("io_service_time_recursive")
private List ioServiceTimeRecursive;
@JsonProperty("io_wait_time_recursive")
private List ioWaitTimeRecursive;
@JsonProperty("io_merged_recursive")
private List ioMergedRecursive;
@JsonProperty("io_time_recursive")
private List ioTimeRecursive;
@JsonProperty("sectors_recursive")
private List sectorsRecursive;
/**
* @see #ioServiceBytesRecursive
*/
@CheckForNull
public List getIoServiceBytesRecursive() {
return ioServiceBytesRecursive;
}
/**
* @see #ioServicedRecursive
*/
@CheckForNull
public List getIoServicedRecursive() {
return ioServicedRecursive;
}
/**
* @see #ioQueueRecursive
*/
@CheckForNull
public List getIoQueueRecursive() {
return ioQueueRecursive;
}
/**
* @see #ioServiceTimeRecursive
*/
@CheckForNull
public List getIoServiceTimeRecursive() {
return ioServiceTimeRecursive;
}
/**
* @see #ioWaitTimeRecursive
*/
@CheckForNull
public List getIoWaitTimeRecursive() {
return ioWaitTimeRecursive;
}
/**
* @see #ioMergedRecursive
*/
@CheckForNull
public List getIoMergedRecursive() {
return ioMergedRecursive;
}
/**
* @see #ioTimeRecursive
*/
@CheckForNull
public List getIoTimeRecursive() {
return ioTimeRecursive;
}
/**
* @see #sectorsRecursive
*/
@CheckForNull
public List getSectorsRecursive() {
return sectorsRecursive;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
@Override
public boolean equals(Object o) {
return EqualsBuilder.reflectionEquals(this, o);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}