forked from ReactiveX/RxJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue ReactiveX#733: Added bulkhead/ThreadPoolBulhead spring customiz…
…er (ReactiveX#797)
- Loading branch information
Showing
18 changed files
with
316 additions
and
71 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...e4j-framework-common/src/main/java/io/github/resilience4j/common/CompositeCustomizer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...ce4j-framework-common/src/main/java/io/github/resilience4j/common/CustomizerWithName.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...n/java/io/github/resilience4j/common/bulkhead/configuration/BulkheadConfigCustomizer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package io.github.resilience4j.common.bulkhead.configuration; | ||
|
||
import io.github.resilience4j.bulkhead.BulkheadConfig; | ||
import io.github.resilience4j.common.CustomizerWithName; | ||
|
||
/** | ||
* Enable customization bulkhead configuration builders programmatically. | ||
*/ | ||
public interface BulkheadConfigCustomizer extends CustomizerWithName { | ||
|
||
/** | ||
* Customize BulkheadConfig configuration builder. | ||
* | ||
* @param configBuilder to be customized | ||
*/ | ||
void customize(BulkheadConfig.Builder configBuilder); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...github/resilience4j/common/bulkhead/configuration/ThreadPoolBulkheadConfigCustomizer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package io.github.resilience4j.common.bulkhead.configuration; | ||
|
||
import io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig; | ||
import io.github.resilience4j.common.CustomizerWithName; | ||
|
||
/** | ||
* Enable customization thread pool bulkhead configuration builders programmatically. | ||
*/ | ||
public interface ThreadPoolBulkheadConfigCustomizer extends CustomizerWithName { | ||
|
||
/** | ||
* Customize ThreadPoolBulkheadConfig configuration builder. | ||
* | ||
* @param configBuilder to be customized | ||
*/ | ||
void customize(ThreadPoolBulkheadConfig.Builder configBuilder); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.