![JAR search and dependency download from the Maven repository](/logo.png)
com.rollbar.reactivestreams.notifier.sender.Sender Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rollbar-reactive-streams Show documentation
Show all versions of rollbar-reactive-streams Show documentation
For connecting your applications built on the JVM to Rollbar for Error Reporting
package com.rollbar.reactivestreams.notifier.sender;
import com.rollbar.api.payload.Payload;
import com.rollbar.notifier.sender.result.Response;
import org.reactivestreams.Publisher;
/**
* Sender interface to asynchronously send the payload to Rollbar.
*/
public interface Sender extends AutoCloseable {
/**
* Sends the payload.
*
* @param payload the payload.
* @return A {@link Publisher} that will execute the operation once a subscriber requests it.
*/
Publisher send(Payload payload);
void close(boolean wait);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy