View Javadoc
1   package net.secodo.jcircuitbreaker.breakstrategy.impl;
2   
3   /**
4    * This implementation of {@link net.secodo.jcircuitbreaker.breakstrategy.BreakStrategy} allows execution only if
5    * there is no other execution at the moment.
6    *
7    * @param <R> return value of the target method
8    */
9   public class SingleExecutionAllowedStrategy<R> extends LimitedConcurrentExecutionsStrategy<R> {
10    public SingleExecutionAllowedStrategy() {
11      super(1);
12    }
13  }