
io.honeycomb.libhoney.transport.batch.BatchKeyStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libhoney-java Show documentation
Show all versions of libhoney-java Show documentation
The Java client for sending events honeycomb
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