|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EphemeralDB<Identifier,HighIdentifier>
Keeps track of tags, ephemeral identifiers, timestamps, highIdentifiers
Field Summary | |
---|---|
static long |
NO_TAG
|
Method Summary | |
---|---|
Identifier |
getEphemeral(HighIdentifier high)
Get the valid Identifier for this highIdentifier |
Identifier |
getEphemeral(long tag,
Identifier i)
Return a current valid Identifier for the tag, otherwise, return the default identifier only a getter |
long |
getTagForEphemeral(Identifier addr)
Get the existing tag, or make a new one if needed |
void |
mapHighToTag(HighIdentifier high,
long tag)
Tell the DB that the high identifier points to this tag |
Field Detail |
---|
static final long NO_TAG
Method Detail |
---|
long getTagForEphemeral(Identifier addr)
addr
-
Identifier getEphemeral(long tag, Identifier i)
tag
- i
- the default identifier
void mapHighToTag(HighIdentifier high, long tag)
high
- tag
- Identifier getEphemeral(HighIdentifier high)
high
-
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |