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

io.nflow.rest.v1.msg.StatisticsResponse 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 = "Response for statistics")
@SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD", justification = "jackson reads dto fields")
public class StatisticsResponse extends ModelObject {

  @Schema(requiredMode = REQUIRED)
  // Statistics for queued workflows. Workflow instances waiting for free executors.
  public QueueStatistics queueStatistics = new QueueStatistics();

  @Schema(requiredMode = REQUIRED)
  // Statistics for workflows in execution. Workflow instances currently processed by an executor.
  public QueueStatistics executionStatistics = new QueueStatistics();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy