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

net.jodah.failsafe.internal.CircuitState Maven / Gradle / Ivy

package net.jodah.failsafe.internal;

import net.jodah.failsafe.CircuitBreaker.State;

/**
 * The state of a circuit.
 * 
 * @author Jonathan Halterman
 */
public interface CircuitState {
  boolean allowsExecution(CircuitBreakerStats stats);

  State getState();

  void recordFailure();

  void recordSuccess();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy