PriorityQueue Type — netty Architecture
Architecture documentation for the PriorityQueue type/interface in PriorityQueue.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2e798e73_4163_7be2_58f0_90208e3b77e5["PriorityQueue"] 56d0df6c_a61d_ea98_abc1_71d75ac21ae2["PriorityQueue.java"] 2e798e73_4163_7be2_58f0_90208e3b77e5 -->|defined in| 56d0df6c_a61d_ea98_abc1_71d75ac21ae2 style 2e798e73_4163_7be2_58f0_90208e3b77e5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/PriorityQueue.java lines 20–46
public interface PriorityQueue<T> extends Queue<T> {
/**
* Same as {@link #remove(Object)} but typed using generics.
*/
boolean removeTyped(T node);
/**
* Same as {@link #contains(Object)} but typed using generics.
*/
boolean containsTyped(T node);
/**
* Notify the queue that the priority for {@code node} has changed. The queue will adjust to ensure the priority
* queue properties are maintained.
* @param node An object which is in this queue and the priority may have changed.
*/
void priorityChanged(T node);
/**
* Removes all of the elements from this {@link PriorityQueue} without calling
* {@link PriorityQueueNode#priorityQueueIndex(DefaultPriorityQueue)} or explicitly removing references to them to
* allow them to be garbage collected. This should only be used when it is certain that the nodes will not be
* re-inserted into this or any other {@link PriorityQueue} and it is known that the {@link PriorityQueue} itself
* will be garbage collected after this call.
*/
void clearIgnoringIndexes();
}
Source
Frequently Asked Questions
What is the PriorityQueue type?
PriorityQueue is a type/interface in the netty codebase, defined in common/src/main/java/io/netty/util/internal/PriorityQueue.java.
Where is PriorityQueue defined?
PriorityQueue is defined in common/src/main/java/io/netty/util/internal/PriorityQueue.java at line 20.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free