io.deephaven.stream.StreamFailureConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-engine-table Show documentation
Show all versions of deephaven-engine-table Show documentation
Engine Table: Implementation and closely-coupled utilities
/**
* 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