Skip to content
Snippets Groups Projects
Commit 4e91b558 authored by 郭浩's avatar 郭浩
Browse files

Update service

parent 7b24e94b
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,9 @@ public class HashServiceImpl implements HashInterface {
private volatile ThrashConfig config;
private ScheduledExecutorService scheduler =
new ScheduledThreadPoolExecutor(1, new NamedThreadFactory("Benchmark-refresh-permit"));
public HashServiceImpl(String salt) {
this(salt,Collections.emptyList());
}
public HashServiceImpl(String salt, List<ThrashConfig> configs) {
this.salt = salt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment