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

io.paradoxical.cassieq.discoverable.bundles.QueueTimerBundle Maven / Gradle / Ivy

package io.paradoxical.cassieq.discoverable.bundles;

import io.dropwizard.Bundle;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import io.paradoxical.cassieq.metrics.QueueDelineatedMetricProvider;

@SuppressWarnings("unused")
public class QueueTimerBundle implements Bundle {
    @Override
    public void initialize(final Bootstrap bootstrap) {

    }

    @Override
    public void run(final Environment environment) {
        environment.jersey().register(new QueueDelineatedMetricProvider(environment.metrics()));
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy