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

restx.monitor.MonitorCodahaleModuleFactoryMachine Maven / Gradle / Ivy

package restx.monitor;

import com.google.common.collect.ImmutableSet;
import restx.factory.*;
import restx.monitor.MonitorCodahaleModule;


@Machine
public class MonitorCodahaleModuleFactoryMachine extends DefaultFactoryMachine {
    private static final MonitorCodahaleModule module = new MonitorCodahaleModule();

    public MonitorCodahaleModuleFactoryMachine() {
        super(0, new MachineEngine[] {
            new StdMachineEngine(Name.of(restx.common.metrics.api.MetricRegistry.class, "MetricRegistry"), 0, BoundlessComponentBox.FACTORY) {
        
                @Override
                public BillOfMaterials getBillOfMaterial() {
                    return new BillOfMaterials(ImmutableSet.>of(
        
                    ));
                }

                @Override
                public restx.common.metrics.api.MetricRegistry doNewComponent(SatisfiedBOM satisfiedBOM) {
	                    return module.metricRegistry(
	        
	                    );
                }
            },
            new StdMachineEngine(Name.of(restx.common.metrics.api.health.HealthCheckRegistry.class, "HealthChekcRegistry"), 0, BoundlessComponentBox.FACTORY) {
        
                @Override
                public BillOfMaterials getBillOfMaterial() {
                    return new BillOfMaterials(ImmutableSet.>of(
        
                    ));
                }

                @Override
                public restx.common.metrics.api.health.HealthCheckRegistry doNewComponent(SatisfiedBOM satisfiedBOM) {
	                    return module.healthCheckRegistry(
	        
	                    );
                }
            },

        });
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy