
com.microsoft.azure.functions.RetryContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-functions-java-core-library Show documentation
Show all versions of azure-functions-java-core-library Show documentation
This package contains core Java classes to interact with Microsoft Azure functions runtime.
/**
* 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.functions;
/**
* The Retry context that is obtained from the host.
*
* @since 2.0.0
*/
public interface RetryContext {
/**
* Returns the current retry count
*
* @return the current retry count.
*/
int getRetrycount();
/**
* Returns the max retry count
*
* @return the max retry count.
*/
int getMaxretrycount();
/**
* Returns the exception that caused the retry
*
* @return the exception that caused the retry.
*/
RpcException getException();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy