|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.nist.antd.mpls.mgmt.mpls_interface.MPLSPacketScheduler
|
+--gov.nist.antd.mpls.mgmt.mpls_interface.PriorityScheduler
Scheduler for the Priority Scheduling. In priority-based scheduling the higher priority packet flow exclusively use the bandwidth regardless of the lower-priority queue status.
This class was developed at the National Institute of Standards and Technology by employees of the Federal Government in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
| Nested Class Summary | |
class |
PriorityScheduler.PriorityInfo
Class PriorityInfo |
| Field Summary | |
java.util.Hashtable |
priorityQueueHTable
Field PriorityQueueHTable - Priority Queue Table(HashTable) |
java.util.Vector |
priorityQueueVTable
Field PriorityQueueVTable - Priority Queue Table(Vector) |
| Fields inherited from class gov.nist.antd.mpls.mgmt.mpls_interface.MPLSPacketScheduler |
childScheduler, debug, hostID, isActive, isPrimary, localHost, mplsInterfaceInfo, nextSchedulingTime, parentScheduler, schedulingBurstSize, schedulingQueueTable, schedulingRate, schedulingTimer |
| Constructor Summary | |
PriorityScheduler()
Constructor PriorityScheduler |
|
| Method Summary | |
void |
addPriorityQueue(MPLSSchedulingQueueEntry msqe)
Method addPriorityQueue Add the Priority Queue to the table |
void |
init(MPLSInterfaceInfo minfo)
Initializes the queue |
MessageWrapper |
priorityScheduling()
Method PrioirtyScheduling |
void |
removePriorityQueue(MPLSSchedulingQueueEntry msqe)
Method removePriorityQueue Remove the priority queue from table |
void |
scheduling()
Scheduling the next message. |
MessageWrapper |
secondaryScheduling()
Method SecondaryScheduling |
| Methods inherited from class gov.nist.antd.mpls.mgmt.mpls_interface.MPLSPacketScheduler |
createSchedulingTimer, createSecondaryScheduler, getChildScheduler, getParentScheduler, holdingScheduler, initSecondary, packetForwarding, setNextSchedulingTimer, setSchedulingRate, startScheduling |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.util.Hashtable priorityQueueHTable
public java.util.Vector priorityQueueVTable
| Constructor Detail |
public PriorityScheduler()
| Method Detail |
public void init(MPLSInterfaceInfo minfo)
init in class MPLSPacketSchedulerminfo - The mpls information for the queue.public void addPriorityQueue(MPLSSchedulingQueueEntry msqe)
msqe - - XXXpublic void removePriorityQueue(MPLSSchedulingQueueEntry msqe)
msqe - - XXXpublic void scheduling()
scheduling in class MPLSPacketSchedulerpublic MessageWrapper secondaryScheduling()
secondaryScheduling in class MPLSPacketSchedulerpublic MessageWrapper priorityScheduling()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||