MVN

com.jano7 : executor

Maven & Gradle

Sep 21, 2020
23 stars

Java Key Sequential Executor · This small library provides an optimized solution to a problem where tasks for a particular key need to be processed sequentially as they arrive. This kind of problem can be solved by a SingleThreadExecutor, however it is not efficient. The issue is that the tasks for unrelated keys are not being processed in parallel, instead they are put into a queue common to all keys and wait for the single thread to execute them. This library allows them to be executed concurrently. Moreover this library works well in a situation where all the possible keys and their number is not known upfront.

<dependency>
    <groupId>com.jano7</groupId>
    <artifactId>executor</artifactId>
    <version>2.0.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.jano7 : executor to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.0.2

All Versions

Choose a version of com.jano7 : executor to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.0.x
executor-2.0.2
executor-2.0.1
executor-2.0.0
1.0.x
executor-1.0.6
executor-1.0.5
executor-1.0.4
executor-1.0.3
executor-1.0.2
executor-1.0.1
executor-1.0.0

How to add a dependency to Maven

Add the following com.jano7 : executor maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.jano7</groupId>
    <artifactId>executor</artifactId>
    <version>2.0.2</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.jano7 : executor gradle dependency to your build.gradle file:

implementation 'com.jano7:executor:2.0.2'

Gradle Kotlin DSL: Add the following com.jano7 : executor gradle kotlin dependency to your build.gradle.kts file:

implementation("com.jano7:executor:2.0.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.jano7 : executor sbt scala dependency to your build.sbt file:

libraryDependencies += "com.jano7" % "executor" % "2.0.2"