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

pl.allegro.tech.hermes.consumers.consumer.sender.http.SendingResultHandlers Maven / Gradle / Ivy

There is a newer version: 2.8.0
Show newest version
package pl.allegro.tech.hermes.consumers.consumer.sender.http;

import org.eclipse.jetty.client.ContentResponse;
import org.eclipse.jetty.client.Response.CompleteListener;
import pl.allegro.tech.hermes.consumers.consumer.sender.MessageSendingResult;
import pl.allegro.tech.hermes.consumers.consumer.sender.SingleMessageSendingResult;

import java.util.concurrent.CompletableFuture;

public interface SendingResultHandlers {
    CompleteListener handleSendingResultForSerial(CompletableFuture resultFuture);

    CompleteListener handleSendingResultForBroadcast(CompletableFuture resultFuture);

    MessageSendingResult handleSendingResultForBatch(ContentResponse response);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy