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

biz.paluch.logging.gelf.standalone.Datenpumpe Maven / Gradle / Ivy

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

import java.util.Map;

import biz.paluch.logging.gelf.intern.GelfMessage;

/**
 * Datenpumpe allows to submit arbitrary values (flat data set) using Gelf.
 * 
 * @author Mark Paluch
 * @since 31.07.14 08:43
 */
public interface Datenpumpe {
    /**
     * Submit a map of key-value pairs using Gelf.
     * 
     * @param data map containing the data, must not be {@literal null}
     */
    void submit(Map data);

    /**
     * Submit a GelfMessage.
     * 
     * @param gelfMessage the message, must not be {@literal null}
     */
    void submit(GelfMessage gelfMessage);

    /**
     * Submit a Java bean. All accessible fields will be used in a property manner to submit the data.
     *
     * @param javaBean the java bean, must not be {@literal null}
     */
    void submit(Object javaBean);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy