Interface AffinityJob

All Superinterfaces:
Runnable
All Known Implementing Classes:
SegmentChainId.PrefetchJob

public interface AffinityJob extends Runnable
Affinity Job.
  • Method Details

    • getJobId

      String getJobId()
    • affinity

      default String affinity()
    • hungry

      default void hungry()
    • setHungerTime

      void setHungerTime(long hungerTime)
      set hunger time.
      Parameters:
      hungerTime - TimeUnit.SECONDS
    • getPrefetchWorker

      PrefetchWorker getPrefetchWorker()
    • setPrefetchWorker

      void setPrefetchWorker(PrefetchWorker prefetchWorker)