Class TrackerPriorityQueue
java.lang.Object
com.illumon.iris.db.v2.updateby.hashing.TrackerPriorityQueue
public class TrackerPriorityQueue extends Object
A Min-Heap priority queue used to order
UpdateBySlotTracker.UpdateTracker
instances for classifying row keys to buckets.-
Constructor Summary
Constructors Constructor Description TrackerPriorityQueue(int initialCapacity)Create a TrackerPriorityQueue with the given initial capacity. -
Method Summary
Modifier and Type Method Description voidadd(UpdateBySlotTracker.UpdateTracker tracker)Adds an element to the queue.UpdateBySlotTracker.UpdateTrackerpop()Pop the top element from the queue.
-
Constructor Details
-
TrackerPriorityQueue
public TrackerPriorityQueue(int initialCapacity)Create a TrackerPriorityQueue with the given initial capacity.- Parameters:
initialCapacity- how many ranges should we allocate room for
-
-
Method Details