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

io.orchestrate.client.BulkFailureResult Maven / Gradle / Ivy

Go to download

A high performance, asynchronous Java client to query the Orchestrate.io service.

The newest version!
package io.orchestrate.client;

/**
 * The result of a failed bulk operation request.
 */
public class BulkFailureResult extends BulkResult {
    private BulkError error;

    /**
     * @param operationIndex The operation index of the bulk request.
     * @param error The error related to the failure.
     */
    public BulkFailureResult(int operationIndex, BulkError error) {
        super(BulkResultStatus.FAILURE, operationIndex);
        this.error = error;
    }

    /**
     * @return The error with details related to the failure.
     */
    public BulkError getError() { return error; }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy