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

io.nflow.rest.v1.msg.QueueStatistics Maven / Gradle / Ivy

The newest version!
package io.nflow.rest.v1.msg;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.nflow.engine.model.ModelObject;
import io.swagger.v3.oas.annotations.media.Schema;

import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;

@Schema(description = "Statistics for workflow instances.")
@SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD", justification = "jackson reads dto fields")
public class QueueStatistics extends ModelObject {

  @Schema(description = "Number for workflow instances.", requiredMode = REQUIRED)
  public int count;
  @Schema(description = "Maximum time (ms) currently queued workflow instances have been in queue.")
  public Long maxAge;
  @Schema(description = "Minimum time (ms) currently queued workflow instances have been in queue.")
  public Long minAge;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy