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

cn.micro.core.retry.IRetry Maven / Gradle / Ivy

package cn.micro.core.retry;


/**
 * 重试接口
 */
public interface IRetry {

    /**
     * Execute the supplied  with the configured retry semantics. See
     * implementations for configuration details.
     *
     * @param            the return value
     * @param retryCallback the callback
     * @param            the exception thrown
     * @return T the return value
     * @throws E the exception thrown
     */
     T execute(RetryCallback retryCallback) throws E;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy