Bind shared scheduled executor in verifier
This executor can be used by the verifier submodules to run scheduled
tasks
@@ -167,6 +167,13 @@ public class VerifierModule
}
}
+ @Provides
+ @Singleton
+ public static ScheduledExecutorService createScheduledExecutorService()
+ {
+ return newSingleThreadScheduledExecutor(daemonThreadsNamed("verifier-scheduled-executor-service"));
+ }
+
@Provides
@Singleton
@ForTransactionManager
