public class Http2PriorityTree extends Object
Constructor and Description |
---|
Http2PriorityTree() The maximum number of streams that we store priority information for |
Modifier and Type | Method and Description |
---|---|
Comparator<Integer> | comparator() Creates a priority queue |
void | priorityFrame(int streamId, int streamDependency, int weight, boolean exlusive) |
void | registerStream(int streamId, int dependency, int weighting, boolean exclusive) Resisters a stream, with its dependency and dependent information |
void | streamRemoved(int streamId) Method that is invoked when a stream has been removed |
public Http2PriorityTree()
public void registerStream(int streamId, int dependency, int weighting, boolean exclusive)
streamId
- The stream iddependency
- The stream this stream depends on, if no stream is specified this should be zeroweighting
- The weighting. If no weighting is specified this should be 16public void streamRemoved(int streamId)
streamId
- id of the stream removedpublic Comparator<Integer> comparator()
public void priorityFrame(int streamId, int streamDependency, int weight, boolean exlusive)
Copyright © 2015 JBoss by Red Hat. All rights reserved.