@Stable @FunctionalInterface public interface CommitCallback
| Modifier and Type | Method and Description |
|---|---|
void |
commit(boolean success,
java.lang.Throwable error)
Commit the ingest process.
|
static CommitCallback |
noop() |
static CommitCallback noop()
void commit(boolean success,
java.lang.Throwable error)
success - true is the write was successful, false otherwiseerror - the error that was throws during the processing.Copyright © 2017–2021. All rights reserved.