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

io.honeycomb.libhoney.transport.batch.BatchKeyStrategy Maven / Gradle / Ivy

The newest version!
package io.honeycomb.libhoney.transport.batch;

/**
 * A strategy interface to determine the key to an event's batch. In other words, it is a key for a group-by operation.
 *
 * @param  the type of event create a key for.
 * @param  the type of the key.
 */
public interface BatchKeyStrategy {
    /**
     * @param event to to derive a batch key for.
     * @return An object that represents a key to the event's batch.
     */
    K getKey(final T event);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy