Class IndexingWorkerInfo


  • public class IndexingWorkerInfo
    extends Object
    Should be synchronized with org.apache.druid.indexing.overlord.ImmutableWorkerInfo
    • Constructor Detail

      • IndexingWorkerInfo

        public IndexingWorkerInfo​(IndexingWorker worker,
                                  int currCapacityUsed,
                                  Set<String> availabilityGroups,
                                  Collection<String> runningTasks,
                                  org.joda.time.DateTime lastCompletedTaskTime,
                                  @Nullable
                                  org.joda.time.DateTime blacklistedUntil)
    • Method Detail

      • getCurrCapacityUsed

        public int getCurrCapacityUsed()
      • getAvailabilityGroups

        public Set<String> getAvailabilityGroups()
      • getLastCompletedTaskTime

        public org.joda.time.DateTime getLastCompletedTaskTime()
      • getBlacklistedUntil

        public org.joda.time.DateTime getBlacklistedUntil()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object