|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucr.core.RouteTable
Contains history information on Messages used for routing Maps GUIDs to the connection they arrived on
Field Summary | |
private int |
maxSize
|
private java.util.HashMap |
primaryHashMap
|
private java.util.HashMap |
secondaryHashMap
|
Constructor Summary | |
(package private) |
RouteTable(int maxSize)
Construct the RouteTable, indicating maximum size |
Method Summary | |
(package private) boolean |
containsGUID(GUID guid)
Check if Connection history exists for guid |
(package private) NodeConnection |
get(GUID guid)
Retrieves a Connection for a GUID |
(package private) void |
put(GUID guid,
NodeConnection connection)
Puts a GUID to Connection mapping in the table |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.HashMap primaryHashMap
private java.util.HashMap secondaryHashMap
private int maxSize
Constructor Detail |
RouteTable(int maxSize)
maxSize
- maximum number of records to maintainMethod Detail |
void put(GUID guid, NodeConnection connection)
NodeConnection get(GUID guid)
boolean containsGUID(GUID guid)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |