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

biz.paluch.logging.gelf.intern.GelfSenderProvider Maven / Gradle / Ivy

There is a newer version: 1.15.1
Show newest version
package biz.paluch.logging.gelf.intern;

import java.io.IOException;

/**
 * 
 * (c) https://github.com/Batigoal/logstash-gelf.git
 * 
 */
public interface GelfSenderProvider {

    /**
     * 
     * @param host
     * @return true if the host scheme/pattern/uri is supported by this provider.
     */
    boolean supports(String host);

    /**
     * Create the sender based on the passed configuration.
     * 
     * @param configuration
     * @return GelfSender instance.
     * @throws IOException
     */
    GelfSender create(GelfSenderConfiguration configuration) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy