io.smallrye.faulttolerance.config.RetryWhenConfigImpl Maven / Gradle / Ivy
package io.smallrye.faulttolerance.config;
import io.smallrye.faulttolerance.api.RetryWhen;
import io.smallrye.faulttolerance.autoconfig.Config;
import io.smallrye.faulttolerance.autoconfig.FaultToleranceMethod;
import io.smallrye.faulttolerance.autoconfig.MethodDescriptor;
import java.lang.Class;
import java.lang.Object;
import java.lang.Override;
import java.lang.Throwable;
import java.lang.annotation.Annotation;
import java.util.function.Predicate;
import org.eclipse.microprofile.config.ConfigProvider;
/**
* Automatically generated from the {@link RetryWhenConfig} config interface, do not modify.
*/
public final class RetryWhenConfigImpl implements RetryWhenConfig {
private final Class> beanClass;
private final MethodDescriptor method;
/**
* Backing annotation instance. Used when runtime configuration doesn't override it.
*/
private final RetryWhen instance;
/**
* {@code true} if annotation was placed on a method; {@code false} if annotation was placed on a class.
*/
private final boolean onMethod;
/**
* Cached value of the {@code RetryWhen.result} annotation member; {@code null} if not looked up yet.
*/
private Class extends Predicate