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

io.deephaven.stream.StreamFailureConsumer Maven / Gradle / Ivy

There is a newer version: 0.37.1
Show newest version
/**
 * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
 */
package io.deephaven.stream;

import org.jetbrains.annotations.NotNull;

/**
 * An interface for accepting failures from an incoming stream in order to propagate them to downstream tables.
 */
@FunctionalInterface
public interface StreamFailureConsumer {

    /**
     * Report an error while processing the stream.
     *
     * @param cause the cause of the error
     */
    void acceptFailure(@NotNull Throwable cause);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy