|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.kernel.ac.ShipmentRendezvousTable
public class ShipmentRendezvousTable
Table to do the synchronization between "client" threads receiving ACs via waitAgentContainer() and the threads reading the ACs from the network.
| Field Summary | |
|---|---|
protected AgentContainerTable |
agentContainerTable
The list of agent containers |
protected static org.apache.commons.logging.Log |
log
|
protected java.util.ArrayList<Shipment> |
shipments
List of arrived shipments |
| Constructor Summary | |
|---|---|
ShipmentRendezvousTable(AgentContainerTable agentContainerTable)
|
|
| Method Summary | |
|---|---|
boolean |
dropoffShipment(Shipment s)
Used by network reader thread to signal the presence of a new shipment |
org.iids.aos.kernel.ac.ShipmentRendezvousTable.AckedShipment[] |
getAckedShipments()
REBOOT Return the list of succesfully received ACs for reboot purposes. |
Shipment |
pickupShipment(java.util.HashMap<TransactionID,TIDRecord> tidrecs,
int blockTime)
Used by client thread to pickup a shipment, which may have been unsuccesful |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log log
protected java.util.ArrayList<Shipment> shipments
protected AgentContainerTable agentContainerTable
| Constructor Detail |
|---|
public ShipmentRendezvousTable(AgentContainerTable agentContainerTable)
| Method Detail |
|---|
public Shipment pickupShipment(java.util.HashMap<TransactionID,TIDRecord> tidrecs,
int blockTime)
throws UnknownRoleException,
ACTPTimeoutException
UnknownRoleException
ACTPTimeoutExceptionpublic boolean dropoffShipment(Shipment s)
public org.iids.aos.kernel.ac.ShipmentRendezvousTable.AckedShipment[] getAckedShipments()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||