diff --git a/streampark-common/src/main/java/org/apache/streampark/common/lifecycle/ServerLifeCycleManager.java b/streampark-common/src/main/java/org/apache/streampark/common/lifecycle/ServerLifeCycleManager.java index 2eeba82c8c..a11dca2346 100644 --- a/streampark-common/src/main/java/org/apache/streampark/common/lifecycle/ServerLifeCycleManager.java +++ b/streampark-common/src/main/java/org/apache/streampark/common/lifecycle/ServerLifeCycleManager.java @@ -23,11 +23,12 @@ @Slf4j @UtilityClass -@Getter public class ServerLifeCycleManager { + @Getter private static volatile ServerStatus serverStatus = ServerStatus.RUNNING; + @Getter private static long serverStartupTime = System.currentTimeMillis(); public static boolean isRunning() {