io.strimzi.kafka.bridge.Handler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kafka-bridge Show documentation
Show all versions of kafka-bridge Show documentation
Bridge that allows HTTP clients to interact with Apache Kafka clusters.
The newest version!
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.kafka.bridge;
/**
* Represents a functional interface for handling callback when an asynchronous operation ends
*
* @param type of the data to be handled
*/
@FunctionalInterface
public interface Handler {
/**
* Called to handle the result of the asynchronous operation with the provided data
*
* @param data data result to handle
*/
void handle(T data);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy