Class SystemConfigurationApplierService

java.lang.Object
com.flowable.platform.service.configuration.service.SystemConfigurationApplierService
All Implemented Interfaces:
Lifecycle, Phased, SmartLifecycle

public class SystemConfigurationApplierService extends Object implements SmartLifecycle
Author:
Filip Hrisafov
  • Field Details

    • logger

      protected final org.slf4j.Logger logger
    • platformEngine

      protected final PlatformEngine platformEngine
    • flowableSystemInformationService

      protected final FlowableSystemInformationService flowableSystemInformationService
    • currentNodeName

      protected final String currentNodeName
    • lastSeenConfigurationsByType

      protected final Map<String,String> lastSeenConfigurationsByType
    • taskScheduler

      protected TaskScheduler taskScheduler
    • localExecutor

      protected ScheduledExecutorService localExecutor
    • applyRate

      protected Duration applyRate
    • lastAppliedTimestamp

      protected Instant lastAppliedTimestamp
    • isRunning

      protected boolean isRunning
  • Constructor Details

  • Method Details

    • applySystemConfigurationSafely

      protected void applySystemConfigurationSafely()
    • applySystemConfiguration

      protected void applySystemConfiguration()
    • start

      public void start()
      Specified by:
      start in interface Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface Lifecycle
    • getPhase

      public int getPhase()
      Specified by:
      getPhase in interface Phased
      Specified by:
      getPhase in interface SmartLifecycle
    • setTaskScheduler

      public void setTaskScheduler(TaskScheduler taskScheduler)
    • getApplyRate

      public Duration getApplyRate()
    • setApplyRate

      public void setApplyRate(Duration applyRate)