Skip to content
This repository was archived by the owner on May 14, 2018. It is now read-only.

Commit a293415

Browse files
author
Andrey Kurilov
committed
v2.0.2: small fix for the sequential weight throttle
1 parent db3941e commit a293415

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ allprojects {
1111
apply plugin: "maven"
1212
apply plugin: "signing"
1313
group = "com.github.akurilov"
14-
version = "2.0.1"
14+
version = "2.0.2"
1515
}
1616

1717
ext.moduleName = "${group}.concurrent"
@@ -21,7 +21,7 @@ repositories {
2121
}
2222

2323
dependencies {
24-
compile("com.github.akurilov:java-commons:[2.0.1,)")
24+
compile("com.github.akurilov:java-commons:[2.0.2,)")
2525
testCompile("junit:junit:4.12")
2626
}
2727

src/main/java/com/github/akurilov/concurrent/SequentialWeightsThrottle.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
The throttle determines the weight for each I/O task and makes the decision.
99
The weight is used to pass the I/O task with specific ratio for the different keys.
1010
*/
11-
public final class SequentialWeightsThrottle {
11+
public final class SequentialWeightsThrottle
12+
implements IndexThrottle {
1213

1314
// initial weight map (constant)
1415
private final int[] weights;

0 commit comments

Comments
 (0)