org.qi4j.library.circuitbreaker.service
Class BreakCircuitConcern

java.lang.Object
  extended by org.qi4j.api.concern.ConcernOf<InvocationHandler>
      extended by org.qi4j.api.concern.GenericConcern
          extended by org.qi4j.library.circuitbreaker.service.BreakCircuitConcern
All Implemented Interfaces:
InvocationHandler

@AppliesTo(value=BreaksCircuitOnThrowable.class)
public class BreakCircuitConcern
extends GenericConcern

This concern will update the circuit breaker on method invocation success and thrown exceptions.


Field Summary
 
Fields inherited from class org.qi4j.api.concern.ConcernOf
next
 
Constructor Summary
BreakCircuitConcern()
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreakCircuitConcern

public BreakCircuitConcern()
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Throws:
Throwable