drcl.intserv.scheduler
Class SpecR_PTSP
java.lang.Object
drcl.DrclObj
drcl.intserv.SpecR
drcl.intserv.scheduler.SpecR_PTSP
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectCloneable, ObjectDuplicable, java.io.Serializable, SpecR_Direct, SpecR_SP
- public class SpecR_PTSP
- extends SpecR
- implements SpecR_SP, SpecR_Direct
Periodic-task static-priority Rspec.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
C
public int C
P
public double P
D
public double D
priority
public double priority
CC
public double CC
SpecR_PTSP
public SpecR_PTSP()
SpecR_PTSP
public SpecR_PTSP(int c_,
double p_,
double d_)
setPeriod
public void setPeriod(double p_)
getPeriod
public double getPeriod()
setC
public void setC(int c_)
getC
public int getC()
setMaxAllowableDelay
public void setMaxAllowableDelay(double d_)
getMaxAllowableDelay
public double getMaxAllowableDelay()
setPriority
public void setPriority(double p_)
getPriority
public double getPriority()
- Specified by:
getPriority in interface SpecR_SP
getBuffer
public int getBuffer()
- Description copied from class:
SpecR
- Returns the buffer requirement for this Rspec.
- Specified by:
getBuffer in interface SpecR_Direct- Specified by:
getBuffer in class SpecR
getBW
public int getBW()
- Description copied from class:
SpecR
- Returns the bandwidth requirement for this Rspec.
- Specified by:
getBW in interface SpecR_Direct- Specified by:
getBW in class SpecR
setBuffer
public void setBuffer(int buffer_)
- Specified by:
setBuffer in interface SpecR_Direct
setBW
public void setBW(int bw_)
- Specified by:
setBW in interface SpecR_Direct
merge
public SpecR merge(SpecR rspec_)
- Specified by:
merge in class SpecR
compareWith
public int compareWith(SpecR rspec_)
- Description copied from class:
SpecR
- Returns 1 if this > rspec; 0 if this == rspec
and -1 if this < rspec.
- Specified by:
compareWith in class SpecR
duplicate
public void duplicate(java.lang.Object source_)
- Description copied from class:
DrclObj
- opies the content of the
source_ object to this object.
he subclass must implement this method to realize DrclObj.clone().
- Specified by:
duplicate in interface ObjectDuplicable- Overrides:
duplicate in class DrclObj
perHopAdjust
public void perHopAdjust()
- Description copied from class:
SpecR
- Adjust the rspecs when backing off one hop.
- Specified by:
perHopAdjust in class SpecR
toString
public java.lang.String toString()
- Overrides:
toString in class SpecR
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~