Java model for Docker container statistics, used to parse API metrics like CPU, memory, and network usage.
// Source: https://github.com/docker-java/docker-java | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package com.github.dockerjava.api.model;
import java.io.Serializable;
import java.util.Map;
import javax.annotation.CheckForNull;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
* Representation of a Docker statistics.
*/
@EqualsAndHashCode
@ToString
public class Statistics extends DockerObject implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("read")
private String read;
@JsonProperty("preread")
private String preread;
/**
* @since Docker
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key