Class CosIdLifecyclePrefetchWorkerExecutorService

java.lang.Object
me.ahoo.cosid.spring.boot.starter.segment.CosIdLifecyclePrefetchWorkerExecutorService
All Implemented Interfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class CosIdLifecyclePrefetchWorkerExecutorService extends Object implements org.springframework.context.SmartLifecycle
CosId Lifecycle Prefetch Worker Executor Service.
  • Constructor Details

    • CosIdLifecyclePrefetchWorkerExecutorService

      public CosIdLifecyclePrefetchWorkerExecutorService(PrefetchWorkerExecutorService prefetchWorkerExecutorService)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle