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

com.yahoo.container.jdisc.DisabledConnectionLogProvider Maven / Gradle / Ivy

The newest version!
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.jdisc;

import com.yahoo.container.di.componentgraph.Provider;
import com.yahoo.container.logging.ConnectionLog;
import com.yahoo.jdisc.http.server.jetty.VoidConnectionLog;

/**
 * @author bjorncs
 */
public class DisabledConnectionLogProvider implements Provider {

    private static final ConnectionLog INSTANCE = new VoidConnectionLog();

    @Override public ConnectionLog get() { return INSTANCE; }
    @Override public void deconstruct() {}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy