File tree Expand file tree Collapse file tree
src/main/java/io/getunleash/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ public class UnleashScheduledExecutorImpl implements UnleashScheduledExecutor {
1515 private final ExecutorService executorService ;
1616
1717 public UnleashScheduledExecutorImpl () {
18- LOG .info ("Creating Scheduled executor" );
1918 ThreadFactory threadFactory =
2019 runnable -> {
2120 Thread thread = Executors .defaultThreadFactory ().newThread (runnable );
@@ -32,7 +31,6 @@ public UnleashScheduledExecutorImpl() {
3231
3332 public static synchronized UnleashScheduledExecutorImpl getInstance () {
3433 if (INSTANCE == null ) {
35- LOG .info ("INSTANCE was null, rebuilding Scheduled Executor" );
3634 INSTANCE = new UnleashScheduledExecutorImpl ();
3735 }
3836 return INSTANCE ;
@@ -58,14 +56,12 @@ public synchronized void shutdown() {
5856 this .scheduledThreadPoolExecutor .shutdown ();
5957 this .executorService .shutdown ();
6058 INSTANCE = null ;
61- LOG .info ("Shutdown - Scheduled Executor" );
6259 }
6360
6461 @ Override
6562 public synchronized void shutdownNow () {
6663 this .scheduledThreadPoolExecutor .shutdownNow ();
6764 this .executorService .shutdownNow ();
6865 INSTANCE = null ;
69- LOG .info ("Shutdown Now - Scheduled Executor" );
7066 }
7167}
You can’t perform that action at this time.
0 commit comments