|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Date | +--atropos.lp.AvnmpTime | +--atropos.lp.AvnmpDebug | +--atropos.gvt.Gvt | +--atropos.lp.AvnmpLP | +--atropos.dp.Driver
This class implements an AVNMP Driver process. The general idea is to have a working process modified as follows:
Predict -> output -> getvm()
This research is funded by DARPA/ITO Contract Number: F30602-98-C-0230 supported by the Air Force Research Laboratory/IF.
Inner classes inherited from class atropos.lp.AvnmpLP |
AvnmpLP.ParmTable, AvnmpLP.parmTime |
Field Summary | |
snmp.agent.AppCommunicator |
context
The Snmp Agent Context |
Fields inherited from class atropos.lp.AvnmpLP |
gvtupdate, islp, lookahead, LpNum, lvt, name, numAnti, numCausalityRb, numPackets, numToleranceRb, outq_size, parmTable, procList, ReRate, start_time, stateq, stepsize, terminal, Tla, tolerance, Tspeedup, Ttrb, Tttask, vminq, vmoutq, VmRate |
Fields inherited from class atropos.gvt.Gvt |
COLLECTMIN, GvtReportInput, GvtUpdateRequest, GvtUpdateResponse, IDLE, lm, REPORTLOCAL, START |
Fields inherited from class atropos.lp.AvnmpDebug |
dlevel, DRIVER_D, GVT_D, html, LP_D, LPSTATE_D, MEASURE_D, NodeName, PACKET_D, PAYLOAD_D, PP_D, PREDM_D, RECQ_D, ROLLBACK_D, SNDQ_D, STATEQ_D, SYSTEM_D, TIME_D, TOLERANCE_D |
Fields inherited from interface atropos.lp.ConfigInterface |
Dvm, initTolerance, logdir, lvm, ootLimit, pdir, rmlog, rmplots, rmsnmp, runMinutes, snmpdir, VirtualMessageRatio |
Constructor Summary | |
Driver(java.lang.String name,
java.lang.String nn)
Construct a driver process. |
Method Summary | |
PayLoad |
Compute(PayLoad pl)
This method is not used by the Driver. |
java.lang.Double |
getPPstate()
This method is not used by the Driver. |
AvnmpQueue |
Output()
Send VirtualMessageRatio virtual messages for each real message. |
int |
portTable()
|
AvnmpPacket |
Predict()
Predict a new value and create packet to send. |
java.lang.Double |
PredictedLoadFit()
This is the hook into a load prediction method. |
java.lang.Double |
PredictedLoadRandom()
This is the hook into a perfect prediction with random noise. |
AvnmpPacket |
Real()
Send a real packet. |
void |
Rollback(java.lang.Long rb)
Rollback based upon out-of-tolerance rollback from logical processes. |
void |
setPPstate(java.lang.Double is)
This method is not by the Driver. |
Methods inherited from class atropos.lp.AvnmpLP |
checkParameterTimes, displayConfiguration, displayLvt, displayLVT, displayQueues, finalize, getCausalityRollbacks, getGenRate, getlvt, getnext, getRealTime, getRecQSize, getSndQSize, getstate, getStateQSize, getTolerance, getToleranceRollbacks, getvm, inputvm, isDriver, isLP, isQuitTime, logState, myname, savestate, setGenRate, setGVTUpdate, setLookahead, setParameterTimes, setProcList, setStepsize, toString |
Methods inherited from class atropos.gvt.Gvt |
addProcs, calcLocalMinimum, collectMinima, getNumProcs, getNumUpdates, getProcReport, getState, getTimeSinceLastUpdate, getUpdateInterval, isDone, isUpdateTime, reportIn, reportLocalMinimum, resetGvt, startGvt, storeIn, storeOut |
Methods inherited from class atropos.lp.AvnmpDebug |
debugType, log, log, log, log, measure, resetLog, setLevel, writeLog |
Methods inherited from class atropos.lp.AvnmpTime |
add, adjustRelative, diff, now, resetRelative, set, startTime, time |
Methods inherited from class java.util.Date |
after, before, clone, compareTo, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, UTC |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public transient snmp.agent.AppCommunicator context
Constructor Detail |
public Driver(java.lang.String name, java.lang.String nn)
name
- This is the process namecontext
- This is the SNMP agent contextMethod Detail |
public void Rollback(java.lang.Long rb)
rb
- The time to which rollback should take place.public AvnmpQueue Output()
ConfigInterface.VirtualMessageRatio
public AvnmpPacket Predict()
AvnmpPacket.AvnmpPacket(byte a, String Source, long rt, String Destination, long st, Object pl)
public java.lang.Double PredictedLoadFit()
public java.lang.Double PredictedLoadRandom()
public AvnmpPacket Real()
AvnmpPacket.AvnmpPacket(byte a, String Source, long rt, long st, AvnmpLP mylp)
public PayLoad Compute(PayLoad pl)
Compute
in class AvnmpLP
pl
- The input packet's payload.public java.lang.Double getPPstate()
getPPstate
in class AvnmpLP
public void setPPstate(java.lang.Double is)
setPPstate
in class AvnmpLP
is
- Set the physical process state.public int portTable()
portTable
in class AvnmpLP
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |