mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-27 09:11:08 -06:00
nb4 rc build
This commit is contained in:
parent
f09335755c
commit
87f895e069
@ -1,5 +1,7 @@
|
||||
|
||||
- 3d2ff55f (main) auto create apikey
|
||||
- e4f325c4 (origin/main, main) disable test which is present in feature branch
|
||||
- 78463838 make main brain build cleanly again
|
||||
- 608d1f72 Update DOWNLOADS.md
|
||||
- 3d2ff55f auto create apikey
|
||||
- cfa92eab package organization
|
||||
- 2ab118f4 package organization
|
||||
- a23808b3 update appimage build script for j15
|
||||
|
@ -0,0 +1,7 @@
|
||||
package io.nosqlbench.nb.api.labels;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public interface Labeled {
|
||||
public Map<String,String> getLabels();
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package io.nosqlbench.nb.api.labels;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class MutableLabels extends HashMap<String,String> implements Labeled {
|
||||
|
||||
public static MutableLabels fromMaps(Map<String,String> entries) {
|
||||
MutableLabels mutableLabels = new MutableLabels();
|
||||
mutableLabels.putAll(entries);
|
||||
return mutableLabels;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Map<String, String> getLabels() {
|
||||
return this;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user