Skip to content
Snippets Groups Projects
Commit 67423b5f authored by Björn Vonheiden's avatar Björn Vonheiden
Browse files

Abstract functional Transport interface from workload generator.

Abstract the Interface to be more generic.
parent 74995017
No related branches found
No related tags found
1 merge request!28Use Titan CC Avro Records in UC App and Workload Generator
package theodolite.commons.workloadgeneration.functions;
import kieker.common.record.IMonitoringRecord;
/**
* This interface describes a function that consumes a {@link IMonitoringRecord}. This function is
* dedicated to be used to transport individual messages to the messaging system.
* This interface describes a function that consumes a message {@code T}. This function is dedicated
* to be used to transport individual messages to the messaging system.
*
* @param <T> the type of records to send as messages.
*/
@FunctionalInterface
public interface Transport<T extends IMonitoringRecord> {
public interface Transport<T> {
void transport(final T message);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment