https://github.com/wilddev/spring-starter-core-ext
Core extension starter for Spring apps
https://github.com/wilddev/spring-starter-core-ext
Last synced: about 1 year ago
JSON representation
Core extension starter for Spring apps
- Host: GitHub
- URL: https://github.com/wilddev/spring-starter-core-ext
- Owner: WildDev
- License: cc-by-sa-4.0
- Created: 2024-09-22T16:13:19.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-26T14:55:25.000Z (over 1 year ago)
- Last Synced: 2025-02-12T04:31:54.596Z (over 1 year ago)
- Language: Java
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Description
Core extension starter for [Spring](https://spring.io) apps.
[](https://github.com/WildDev/spring-starter-core-ext/actions/workflows/maven.yml)
### What it carries
* `FutureCalculator`, `PastCalculator` - beans to forward datetime values.
For example, `futureCalculator.calc(LocalDateTime.now(), "20s")` is equal to `LocalDateTime.now().plusSeconds(20)`
* `MessageService` - is a customized version of Spring's `MessageSource` with fewer parameters
* `ExpiredRecordsCollector` - an accumulative interface for expired data collection
* `Queue`, `Slicer`, `Task` - interfaces to implement custom queues, slicers and tasks respectively
* `PublishingPoller` - polling based abstraction to process large datasets
* `DefaultDurationConverter` - bean to convert duration values to a different time unit. For example, `durationConverter.convert(new DurationValue(1200, TimeUnit.SECONDS), TimeUnit.MINUTES)` produces the converted value `DurationValue(value=20, timeUnit=MINUTES)`
### Get started
Build requirements:
* latest JDK and Maven
Also available in Maven central:
```xml
fun.wilddev.lib
spring-starter-core-ext
1.0.2.RELEASE
```