Interface BatchResult.Callback<T,E> (2.44.1)

public static interface BatchResult.Callback<T,E>

An interface for the batch callbacks.

Type Parameters

Name Description
T
E

Methods

error(E exception)

public abstract void error(E exception)

The method to be called when the batched operation fails.

Parameter
Name Description
exception E

success(T result)

public abstract void success(T result)

The method to be called when the batched operation succeeds.

Parameter
Name Description
result T