Andrej Fink
Andrej Fink
- Fix jitpack.io - dependencies version up
DelegatingScheduler uses an old singleton idiom with double volatile check and synchronized. Bill Pugh Singleton Implementation is better, shorter and uses (in some cases) less memory. Plus fields become "static...
This is the continuation of https://github.com/failsafe-lib/failsafe/issues/349 Here: https://github.com/magicprinc/failsafe/commits/leap_of_faith Final memory balance: -1 fat object `CompletableFuture` -1 lambda Callable in `DelegatingScheduler.schedule` -1 Callable-Runnable wrapper in `delayer().schedule` (Runnables are wrapped as Callables...
If you are looking for new ideas: https://micrometer.io/ Metrics would be great! It is new SLF4J for metrics and all people I know use it as standard de facto. If...
As you can see here: https://github.com/magicprinc/failsafe/commit/c517e3ef01aec35cd6b6aaa23779873f8e89ffab FailsafeCall micro refactoring: 1) AtomicBoolean fields are final 2) lambda expression instead of code block 2) World-Wide Nr.1 duplicated utility method for OkHttp `/**...
In Spring, one can (or rather have to) add `classpath:` scheme-prefix to a resource name to specify search of the resource in the ClassPath. In SmallRyeConfig, "no prefix" means a...
```java .withConverter(DateFormat.class, 100, SimpleDateFormat::new) .withConverter(DateTimeFormatter.class, 100, DateTimeFormatter::ofPattern) .withConverter(CharSequence.class, 100, Object::toString) ```
Application is in spring boot application.jar, runs in Kubernetes ``` smallRyeConfigBuilder .withSources(JPropertiesConfigSourceProvider.of(115, "git.properties")) ``` where ``` JPropertiesConfigSourceProvider.of ≈ loadConfigSources(location, ordinal, classLoader); ``` App fails with ``` ... irelevant Caused by:...
I am writing to propose a change that would allow the ConfigMapping.namingStrategy to be configured from the application's configuration. Currently, the naming strategy for configuration properties is determined by the...