|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--atropos.util.OrderedList | +--atropos.lp.AvnmpQueue | +--atropos.lp.AvnmpRecQueue
This class implements the AVNMP LP receive queue.
This research is funded by DARPA/ITO Contract Number: F30602-98-C-0230 supported by the Air Force Research Laboratory/IF.
Field Summary | |
java.lang.String |
AppOid
The Management Object ID of the actual value. |
long |
numCausalityRb
The number of causality based rollbacks. |
long |
numToleranceRb
The number of out of tolerance based rollbacks. |
Fields inherited from class atropos.lp.AvnmpQueue |
QueueName |
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
AvnmpRecQueue(java.lang.String oid)
Construct an empty receive queue. |
Method Summary | |
long |
getLVT(AvnmpLP mylp,
AvnmpTime st)
This returns the smallest of any virtual message receive times still in the receive queue. |
AvnmpPacket |
getNext(AvnmpTime lvt,
long lookahead,
AvnmpLP mylp)
Get the next packet to be processed from the this queue. |
AvnmpPacket |
lookNext(AvnmpTime lvt,
long lookahead,
AvnmpLP mylp)
Look at, but do not remove, the next packet. |
long |
recvm(AvnmpPacket ap,
AvnmpTime lvt,
AvnmpLP mylp,
AvnmpStateQueue sq,
AvnmpTime st,
AvnmpSndQueue vmoutq)
Receive and check the tolerance of an input message. |
Methods inherited from class atropos.lp.AvnmpQueue |
add, addMessage, append, cancel, compare, deleteMessage, getClosestTime, getGreaterOrEqualRecTime, getGreaterOrEqualSndTime, getGreaterRecTime, getGreaterSndTime, getLessOrEqualRecTime, getLessOrEqualSndTime, getLessRecTime, getLessSndTime, getMessage, getReal, getVirtual, numReal, numVirtual, plotQueue, QtoString, queueSize, remove |
Methods inherited from class atropos.util.OrderedList |
clear, get, remove |
Methods inherited from class java.util.Vector |
add, addAll, addAll, addElement, capacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Field Detail |
public long numCausalityRb
public long numToleranceRb
public java.lang.String AppOid
Constructor Detail |
public AvnmpRecQueue(java.lang.String oid)
oid
- This is the object identifier of the actual application
value that AVNMP is predicting.Method Detail |
public long recvm(AvnmpPacket ap, AvnmpTime lvt, AvnmpLP mylp, AvnmpStateQueue sq, AvnmpTime st, AvnmpSndQueue vmoutq) throws CausalityException, ToleranceException
ap
- Input packetlvt
- Local Virtual Timemylp
- The current logical processsq
- State Queuest
- (unused)vmoutq
- The Send QueueToleranceException
,
CausalityException
,
AvnmpLP.inputvm(atropos.lp.AvnmpPacket)
,
AvnmpLP.getvm(atropos.lp.AvnmpPacket)
public long getLVT(AvnmpLP mylp, AvnmpTime st)
mylp
- The current logical process.st
- (unused)public AvnmpPacket lookNext(AvnmpTime lvt, long lookahead, AvnmpLP mylp)
lvt
- The current local vitual time.lookahead
- Do not pick one that exceeds lookahead.mylp
- The current logical process.public AvnmpPacket getNext(AvnmpTime lvt, long lookahead, AvnmpLP mylp)
lvt
- The local virtual time.lookahead
- The maximum distance in time to predict.mylp
- The current LP.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |