gov.nist.antd.mpls.mgmt.mpls_interface
Class WFQScheduler
java.lang.Object
|
+--gov.nist.antd.mpls.mgmt.mpls_interface.MPLSPacketScheduler
|
+--gov.nist.antd.mpls.mgmt.mpls_interface.WFQScheduler
- public class WFQScheduler
- extends MPLSPacketScheduler
Scheduler for the WFQ scheduling. In weighted scheduling, weight for each
queue is allocated, and the relative portion of the bandwidth is allocated
to the queue according to its weight.
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.
- Author:
- EunHyuk Lim (ehlim@antd.nist.gov, othree28@hotmail.com)
, borchert
| 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 |
| Methods inherited from class gov.nist.antd.mpls.mgmt.mpls_interface.MPLSPacketScheduler |
createSchedulingTimer, createSecondaryScheduler, getChildScheduler, getParentScheduler, holdingScheduler, init, initSecondary, packetForwarding, setNextSchedulingTimer, setSchedulingRate, startScheduling |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WFQScheduler
public WFQScheduler()
scheduling
public void scheduling()
- Schedules the next method using the WFQ scheduling.
- Specified by:
scheduling in class MPLSPacketScheduler
secondaryScheduling
public MessageWrapper secondaryScheduling()
- Retuns the next message using the wfq scheduling.
- Specified by:
secondaryScheduling in class MPLSPacketScheduler
- Returns:
- The MessageWrapper.
wfqScheduling
public MessageWrapper wfqScheduling()
- Processes the WFQ scheduling and rreturns the scheduled messgae.
- Returns:
- the scheduled message