Class PrefetchWorkerExecutorService

java.lang.Object
me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService

public class PrefetchWorkerExecutorService extends Object
Prefetch Worker Executor Service.
  • Field Details

  • Constructor Details

    • PrefetchWorkerExecutorService

      public PrefetchWorkerExecutorService(Duration prefetchPeriod, int corePoolSize)
    • PrefetchWorkerExecutorService

      public PrefetchWorkerExecutorService(Duration prefetchPeriod, int corePoolSize, boolean shutdownHook)
  • Method Details

    • shutdown

      public void shutdown()
    • submit

      public void submit(AffinityJob affinityJob)