package com.cameleer.server.app.dto;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "HikariCP connection pool statistics")
public record ConnectionPoolResponse(
        @Schema(description = "Number of currently active connections") int activeConnections,
        @Schema(description = "Number of idle connections") int idleConnections,
        @Schema(description = "Number of threads waiting for a connection") int pendingThreads,
        @Schema(description = "Maximum wait time in milliseconds") long maxWaitMs,
        @Schema(description = "Maximum pool size") int maxPoolSize
) {}
