com.github.mtakaki.dropwizard.circuitbreaker.jersey.CircuitBreaker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-circuitbreaker Show documentation
Show all versions of dropwizard-circuitbreaker Show documentation
A circuit breaker design pattern implementation.
The newest version!
package com.github.mtakaki.dropwizard.circuitbreaker.jersey;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Annotates a resource method that will use a circuit breaker to prevent issues
* from escalating.
*
* @author mtakaki
*
*/
@Target(METHOD)
@Retention(RUNTIME)
@Documented
public @interface CircuitBreaker {
String name() default "";
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy