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

com.microsoft.azure.functions.annotation.FixedDelayRetry Maven / Gradle / Ivy

Go to download

This package contains all Java interfaces and annotations to interact with Microsoft Azure functions runtime.

The 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.functions.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 

* Defines a retry strategy where a fixed delay is used between retries.

* * @since 1.0.0 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface FixedDelayRetry { /** * The strategy of retries that will be used internally. * @return The strategy of retries. */ String strategy() default "fixedDelay"; /** * The maximum number of retries that will be attempted. * @return The delay between retries. */ int maxRetryCount(); /** * The delay between retries. * @return The delay interval. */ String delayInterval(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy