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

com.microsoft.azure.datalake.store.RequestOptions Maven / Gradle / Ivy

There is a newer version: 2.3.10
Show newest version
/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 * See License.txt in the project root for license information.
 */

package com.microsoft.azure.datalake.store;

import com.microsoft.azure.datalake.store.retrypolicies.RetryPolicy;


/**
 * common options to control the behavior of server calls
 */
public class RequestOptions {
    /**
     * the timeout (in milliseconds) to use for the request. This is used for both
     * the readTimeout and the connectTimeout for the request, so
     * in effect the actual timout is two times the specified timeout.
     * Default is 60,000 (60 seconds).
     */
    public int timeout = 60000;

    /**
     * the client request ID. the SDK generates a UUID if a request ID is not specified.
     */
    public String requestid = null;

    /**
     * the {@link RetryPolicy} to use for the request
     */
    public RetryPolicy retryPolicy = null;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy