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

dev.jfr4jdbc.event.jfr.JfrConnectionResourceEvent Maven / Gradle / Ivy

There is a newer version: 2.0.0-M3
Show newest version
package dev.jfr4jdbc.event.jfr;

import jdk.jfr.Label;
import jdk.jfr.Period;
import jdk.jfr.StackTrace;

@Period("1 s")
@Label("ConnectionResource")
@StackTrace(false)
public class JfrConnectionResourceEvent extends JfrJdbcEvent {

    private final String label;
    private final int usage;
    private final int wait;

    public JfrConnectionResourceEvent(String label, int usage, int wait) {
        this.label = label;
        this.usage = usage;
        this.wait = wait;
    }

    public String getLabel() {
        return label;
    }

    public int getUsage() {
        return usage;
    }

    public int getWait() {
        return wait;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy