Interface BulkWriter.WriteErrorCallback (3.24.3)

public static interface BulkWriter.WriteErrorCallback

A callback set by addWriteErrorListener() to be run every time an operation fails and determines if an operation should be retried.

Methods

onError(BulkWriterException error)

public abstract boolean onError(BulkWriterException error)
Parameter
Name Description
error BulkWriterException

The error object from the failed BulkWriter operation attempt.

Returns
Type Description
boolean

Whether to retry the operation or not.