Searched refs:executionCount (Results 1 – 4 of 4) sorted by relevance
45 private final AtomicInteger executionCount; field in SubcomponentsWithBoundExecutor.CountingExecutor47 CountingExecutor(AtomicInteger executionCount) { in CountingExecutor() argument48 this.executionCount = executionCount; in CountingExecutor()53 executionCount.incrementAndGet(); in execute()61 private final AtomicInteger executionCount; field in SubcomponentsWithBoundExecutor.ExecutorModule63 ExecutorModule(AtomicInteger constructionCount, AtomicInteger executionCount) { in ExecutorModule() argument65 this.executionCount = executionCount; in ExecutorModule()72 return new CountingExecutor(executionCount); in executor()
38 private final AtomicInteger executionCount = new AtomicInteger(); field in SubcomponentWithBoundExecutorTest44 .executorModule(new ExecutorModule(executorConstructionCount, executionCount)) in setUp()48 .executorModule(new ExecutorModule(executorConstructionCount, executionCount)) in setUp()57 assertThat(executionCount.get()).isEqualTo(1); in topLevelComponent_child()65 assertThat(executionCount.get()).isEqualTo(1); in topLevelComponent_injectsChildBuilder()74 assertThat(executionCount.get()).isEqualTo(2); in topLevelComponent_grandchild()83 assertThat(executionCount.get()).isEqualTo(2); in topLevelComponent_grandchildWithoutBuilder()91 assertThat(executionCount.get()).isEqualTo(2); in topLevelProductionComponent_child()100 assertThat(executionCount.get()).isEqualTo(3); in topLevelProductionComponent_grandchild()109 assertThat(executionCount.get()).isEqualTo(3); in topLevelProductionComponent_grandchildWithoutBuilder()
85 int executionCount, in retryRequest() argument93 if (executionCount > this.retryCount) { in retryRequest()
69 boolean retryRequest(IOException exception, int executionCount, HttpContext context); in retryRequest() argument