Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
0bb04b14
Commit
0bb04b14
authored
4 years ago
by
Björn Vonheiden
Browse files
Options
Downloads
Patches
Plain Diff
Abstract functional Transport interface from workload generator.
Abstract the Interface to be more generic.
parent
002d873c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workload-generator-commons/src/main/java/theodolite/commons/workloadgeneration/functions/Transport.java
+3
-5
3 additions, 5 deletions
...olite/commons/workloadgeneration/functions/Transport.java
with
3 additions
and
5 deletions
workload-generator-commons/src/main/java/theodolite/commons/workloadgeneration/functions/Transport.java
+
3
−
5
View file @
0bb04b14
package
theodolite.commons.workloadgeneration.functions
;
package
theodolite.commons.workloadgeneration.functions
;
import
kieker.common.record.IMonitoringRecord
;
/**
/**
* This interface describes a function that consumes a
{@link IMonitoringRecord
}. This function is
* This interface describes a function that consumes a
message {@code T
}. This function is
dedicated
*
dedicated
to be used to transport individual messages to the messaging system.
* to be used to transport individual messages to the messaging system.
*
*
* @param <T> the type of records to send as messages.
* @param <T> the type of records to send as messages.
*/
*/
@FunctionalInterface
@FunctionalInterface
public
interface
Transport
<
T
extends
IMonitoringRecord
>
{
public
interface
Transport
<
T
>
{
void
transport
(
final
T
message
);
void
transport
(
final
T
message
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment