GERONIMO-6583 - Adding bulkhead support.
authorJohn D. Ament <johndament@apache.org>
Sat, 28 Oct 2017 04:12:39 +0000 (00:12 -0400)
committerJohn D. Ament <johndament@apache.org>
Sat, 28 Oct 2017 04:12:39 +0000 (00:12 -0400)
commit964551d17f1ff3b1743c41d7cc629b8397f56557
tree630884a415238aebb58fbddd7e50f0fa61d13e6c
parent75d1acdf96927cde64f38342003910e0077d04b3
GERONIMO-6583 - Adding bulkhead support.

With this change all duration checking is done in nanos (this is only checked in the bulkhead part of the TCK for some reason)
23 files changed:
safeguard-api/src/main/java/org/apache/safeguard/api/ExecutionManager.java
safeguard-api/src/main/java/org/apache/safeguard/api/bulkhead/Bulkhead.java [new file with mode: 0644]
safeguard-api/src/main/java/org/apache/safeguard/api/bulkhead/BulkheadBuilder.java [new file with mode: 0644]
safeguard-api/src/main/java/org/apache/safeguard/api/bulkhead/BulkheadDefinition.java [new file with mode: 0644]
safeguard-api/src/main/java/org/apache/safeguard/api/bulkhead/BulkheadManager.java [new file with mode: 0644]
safeguard-api/src/main/java/org/apache/safeguard/exception/AsyncException.java
safeguard-api/src/main/java/org/apache/safeguard/exception/SafeguardException.java [new file with mode: 0644]
safeguard-impl/src/main/java/org/apache/safeguard/impl/FailsafeExecutionManager.java
safeguard-impl/src/main/java/org/apache/safeguard/impl/bulkhead/BulkheadBuilderImpl.java [new file with mode: 0644]
safeguard-impl/src/main/java/org/apache/safeguard/impl/bulkhead/BulkheadDefinitionImpl.java [new file with mode: 0644]
safeguard-impl/src/main/java/org/apache/safeguard/impl/bulkhead/BulkheadManagerImpl.java [new file with mode: 0644]
safeguard-impl/src/main/java/org/apache/safeguard/impl/bulkhead/SemaphoreBulkhead.java [new file with mode: 0644]
safeguard-impl/src/main/java/org/apache/safeguard/impl/bulkhead/ThreadPoolBulkhead.java [new file with mode: 0644]
safeguard-impl/src/main/java/org/apache/safeguard/impl/cdi/SafeguardExtension.java
safeguard-impl/src/main/java/org/apache/safeguard/impl/cdi/SafeguardInterceptor.java
safeguard-impl/src/main/java/org/apache/safeguard/impl/circuitbreaker/FailsafeCircuitBreakerBuilder.java
safeguard-impl/src/main/java/org/apache/safeguard/impl/executionPlans/AsyncTimeoutExecutionPlan.java
safeguard-impl/src/main/java/org/apache/safeguard/impl/executionPlans/BulkheadExecutionPlan.java [new file with mode: 0644]
safeguard-impl/src/main/java/org/apache/safeguard/impl/executionPlans/ExecutionPlanFactory.java
safeguard-impl/src/main/java/org/apache/safeguard/impl/executionPlans/TimeoutWrappedCallable.java
safeguard-impl/src/main/java/org/apache/safeguard/impl/retry/FailsafeRetryBuilder.java
safeguard-tck-tests/pom.xml
safeguard-tck-tests/src/test/java/org/apache/safeguard/ft/tck/ArchiveAppender.java