https://github.com/altiran/concurrentia
Simple and open-source multithreading utility for Java, Kotlin, etc.
https://github.com/altiran/concurrentia
asynchronous-programming java kotlin multithreading
Last synced: 4 months ago
JSON representation
Simple and open-source multithreading utility for Java, Kotlin, etc.
- Host: GitHub
- URL: https://github.com/altiran/concurrentia
- Owner: Altiran
- License: gpl-3.0
- Created: 2024-04-23T09:47:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-15T21:30:00.000Z (4 months ago)
- Last Synced: 2026-02-16T04:28:08.872Z (4 months ago)
- Topics: asynchronous-programming, java, kotlin, multithreading
- Language: Kotlin
- Homepage: https://altiran.com/concurrentia
- Size: 6.43 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Concurrentia
Introducing "Concurrentia" – an open-source Java and Kotlin library designed to streamline your multi-threading
experience. Our solution simplifies concurrent execution, allowing you to effortlessly run multiple tasks
simultaneously.
With "Concurrentia," there's no need for complex configurations. The library intelligently adapts to your system's
capabilities, ensuring optimal performance without any manual intervention. However, should you require it, you have the
option to adjust the maximum thread count to align with your specific requirements.
Experience the efficiency of parallel processing with "Concurrentia" – where simplicity meets professionalism,
empowering you to focus on what truly matters: your code.
[  ](https://discord.gg/jsSGFeR)
[ ](https://github.com/Altiran/concurrentia/releases/tag/v1.0.3)
[ ](https://github.com/Altiran/concurrentia/fork)
[ ](https://github.com/Altiran/concurrentia/stargazers)
[ ](https://github.com/Altiran/concurrentia/watchers)
[ ](https://github.com/Altiran/concurrentia/graphs/commit-activity)
[ ](https://github.com/Altiran)
[ ](https://github.com/Altiran/concurrentia)
[ ](https://wakatime.com/badge/github/Altiran/concurrentia)
**Like the project? Make sure to leave a ⭐ on the repository!**
## Downloads
##### Gradle:
```groovy
repositories {
maven {
name 'concurrentia'
url 'https://raw.githubusercontent.com/Altiran/concurrentia/main/repo'
}
}
```
```groovy
dependencies {
implementation 'com.altiran:concurrentia:1.0.3'
}
```
##### Maven:
```xml
concurrentia
https://raw.githubusercontent.com/Altiran/concurrentia/main/repo
```
```xml
com.altiran
concurrentia
1.0.3
```
##### JAR:
Pre-built JAR downloads are available from [GitHub Releases](https://github.com/altiran/concurrentia/releases).
## How to Use?
##### Java Example:
```java
import com.altiran.concurrentia.Concurrentia;
import com.altiran.concurrentia.strategy.MultithreadingProtocol;
public class AsyncExample {
private MultithreadingProtocol mt;
private Concurrentia instance;
public AsyncExample() {
instance = new Concurrentia();
mt = instance.getMultiThreading();
}
public void main() {
mt.run(() -> {
System.out.println("Hello World!"); // This will be executed in a separate thread asynchronously
});
}
}
```
##### Kotlin Example:
```kotlin
import com.altiran.concurrentia.Concurrentia
import com.altiran.concurrentia.strategy.MultithreadingProtocol
class AsyncExample {
private val mt: MultithreadingProtocol
private val instance = Concurrentia()
init {
mt = instance.multiThreading
}
fun main() {
mt.run {
println("Hello World!") // This will be executed in a separate thread asynchronously
}
}
}
```
## I Need Help
Check out the [Wiki tab](https://github.com/Altiran/concurrentia/wiki).
If you are still stuck, join [our Discord server](https://discord.gg/jsSGFeR).
## License
"Concurrentia" is licensed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html).
See [LICENSE.md](https://github.com/Altiran/concurrentia/blob/main/LICENSE.md) for details.