package com.arms.api.admin.monitoring.model.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class IndexingStatsVO {
    // Indexing
    private Long indexTotal;
    private Long indexTimeInMillis;
    private Long indexCurrent;
    private Long indexFailed;

    // Search
    private Long queryTotal;
    private Long queryTimeInMillis;
    private Long queryCurrent;
    private Long fetchTotal;
    private Long fetchTimeInMillis;
    private Long fetchCurrent;

    // 장애 판단
    private Boolean hasIndexFailed;
    private String healthMessage;
}