protected final TracingPrefsConfig tracingPrefs;
private final ScheduledExecutorService scheduledExecutor;
public AbstractKeyValueService(ExecutorService executor) {
this.executor = executor;
this.tracingPrefs = new TracingPrefsConfig();
<BUG>this.scheduledExecutor = PTExecutors.newSingleThreadScheduledExecutor(

new NamedThreadFactory(getClass().getSimpleName() + "-tracing-prefs", true));
</BUG>
this.scheduledExecutor.scheduleWithFixedDelay(this.tracingPrefs, 0, 1, TimeUnit.MINUTES); // reload every minute

protected final TracingPrefsConfig tracingPrefs;
private final ScheduledExecutorService scheduledExecutor;
public AbstractKeyValueService(ExecutorService executor) {
this.executor = executor;
this.tracingPrefs = new TracingPrefsConfig();
this.scheduledExecutor = Tracers.wrap(PTExecutors.newSingleThreadScheduledExecutor(
new NamedThreadFactory(getClass().getSimpleName() + "-tracing-prefs", true)));
this.scheduledExecutor.scheduleWithFixedDelay(this.tracingPrefs, 0, 1, TimeUnit.MINUTES); // reload every minute
