|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.snarf.Abraham
|
+--org.abora.gold.be.basic.BeGrandMap
Rewrite notes
3/7/92 ravi
- we had decided to have myRangeElementIDs be a GrandSetTable, but for now its just a
Table onto IDRegions, since that is what we have implemented right now
| Field Summary | |
protected static IntegerVar |
BackendCount
|
protected boolean |
myAcceptingConnectionsFlag
|
protected ID |
myAccessClubID
|
protected ID |
myAdminClubID
|
protected ID |
myArchiveClubID
|
protected ID |
myClubDirectoryID
|
protected ID |
myEmptyClubID
|
protected FilterSpace |
myEndorsementFilterSpace
|
protected PtrArray |
myEndorsementFlags
|
protected CrossSpace |
myEndorsementSpace
|
protected Ent |
myEnt
|
protected BeEdition |
myGateLockSmithEdition
|
protected FilterSpace |
myGlobalIDFilterSpace
|
protected IDSpace |
myGlobalIDSpace
|
protected BeEdition |
myGrants
|
protected MuTable |
myIDCounters
|
protected Sequence |
myIdentifier
|
protected MuTable |
myIDHolders
|
protected Counter |
myLocalIDSpaceCounter
|
protected ID |
myPublicClubID
|
protected boolean |
myPurgeable
|
protected MuTable |
myRangeElementIDs
|
protected MuTable |
myRangeElements
|
protected ImmuTable |
myWrapperEndorsements
|
| Fields inherited from class org.abora.gold.snarf.Abraham |
DismantleStatistics, myHash, myInfo, myToken, TheTokenSource |
| Fields inherited from class org.abora.gold.xpp.basic.Heaper |
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes |
| Fields inherited from class org.abora.gold.java.AboraHeaper |
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag |
| Constructor Summary | |
BeGrandMap(Rcvr receiver)
|
|
BeGrandMap(Sequence identifier)
|
|
| Method Summary | |
void |
acceptConnections(boolean open)
See FeAdminer |
ID |
accessClubID()
|
ID |
adminClubID()
|
ID |
archiveClubID()
|
ID |
assignID(BeRangeElement value)
Remember the two way association between value and its new ID. |
boolean |
atTryIntroduce(ID iD,
BeRangeElement value)
Remember the two way association between value and the supplied ID. |
void |
bePurgeable()
Allow the GrandMap to be purged. |
BeCarrier |
carrier(BeRangeElement element)
Return a carrier that has the rangeElement with a new Label if appropriate. |
void |
clubConsistencyCheck()
Check that the BeClub structure matches the Editions underneath them |
ID |
clubDirectoryID()
|
void |
coldBoot()
|
int |
contentsHash()
A hash of the contents of this flock |
ID |
emptyClubID()
|
FilterSpace |
endorsementFilterSpace()
|
CrossSpace |
endorsementSpace()
|
BeRangeElement |
fetch(ID iD)
The actual BeRangeElement at that ID, or NULL if there is none |
BeClub |
fetchClub(ID iD)
If there is a club at the given ID, return it. |
FeEdition |
gateLockSmithEdition()
|
BeRangeElement |
get(ID iD)
The actual BeRangeElement at that ID, or blast if there is none |
BeClub |
getClub(ID iD)
Get a BeClub from the GrandMap. |
FeRangeElement |
getFe(ID iD)
Get what is at the the given ID as a front end object; blast if there is nothing there |
FeRangeElement |
getOrMakeFe(ID iD)
Get what is at the the given ID as a front end object; if there is nothing there, then make the appropriate PlaceHolder |
Counter |
getOrMakeIDCounter(Sequence backend,
IntegerVar number)
Get a canonical Counter for an IDSpace, or make a new one |
BeIDHolder |
getOrMakeIDHolder(ID iD)
If there is already an IDHolder for the ID then return it, otherwise make one |
FilterSpace |
globalIDFilterSpace()
The FilterSpace on global IDSpace |
IDSpace |
globalIDSpace()
The global IDSpace |
void |
grant(ID clubID,
IDRegion globalIDs)
See FeAdminer |
ID |
grantAt(ID iD)
Who has been granted authority to assign that ID |
TableStepper |
grants(IDRegion clubIDs,
IDRegion globalIDs)
See FeAdminer |
Sequence |
identifier()
|
ID |
iDOf(BeRangeElement value)
Find the ID of a BeRangeElement. |
IDRegion |
iDsOf(BeRangeElement value)
Find the IDs of a BeRangeElement, whether there are none, one, or several |
IDSpace |
iDSpace(Sequence identifier)
Recreate an old IDSpace from externally stored numbers |
boolean |
isAcceptingConnections()
See FeAdminer |
boolean |
isPurgeable()
The Grandmap never gets purged unless explicitly allowed by calling bePurgeable. |
static Heaper |
make()
|
BeClub |
newClub(FeEdition desc)
|
BeClub |
newClub(FeEdition desc,
ID iD)
Make a new Club assigned to either iD or a generated ID id iD is NULL. |
BeEdition |
newDataEdition(PrimDataArray values,
XnRegion keys,
OrderSpec ordering)
Creates an Edition mapping from a Region of keys to the values in an array. |
BeDataHolder |
newDataHolder(PrimValue value)
Make a new DataHolder with the given contents. |
BeEdition |
newEditionWith(Position key,
BeCarrier value)
A single key-value mapping |
BeEdition |
newEditionWithAll(XnRegion keys,
BeCarrier value)
A single key-value mapping |
BeEdition |
newEmptyEdition(CoordinateSpace cs)
Create an empty Edition. |
ID |
newID()
|
BeIDHolder |
newIDHolder(ID iD)
Make a new IDHolder for the given ID. |
IDSpace |
newIDSpace()
Make a new globally unique IDSpace |
BeLabel |
newLabel()
Make a new label. |
BePlaceHolder |
newPlaceHolder()
Make a new PlaceHolder. |
BeEdition |
newPlaceHolders(XnRegion region)
Make an Edition with a region full of unique PlaceHolders |
BeEdition |
newValueEdition(PtrArray values,
XnRegion keys,
OrderSpec ordering)
Creates an Edition mapping from a Region of keys to the values in an array. |
BeWork |
newWork(FeEdition contents)
Make a new Work (without an ID) with the given contents. |
ID |
placeOwnerID(ID iD)
The ID of the Club which owns whatever is at the given ID |
ID |
publicClubID()
|
void |
restartBeGrandMap(Rcvr rcvr)
|
void |
sendSelfTo(Xmtr xmtr)
do nothing |
void |
setGateLockSmithEdition(FeEdition edition)
|
static void |
staticTimeNonInherited()
|
ScruTable |
wrapperEndorsements()
A mapping from wrapper names to endorsements |
static IntegerVar |
xuTime()
Seconds since the beginning of time |
| Methods inherited from class org.abora.gold.snarf.Abraham |
actualHashForEqual, becomeStub, cleanupGarbage, destroy, destruct, diskUpdate, dismantle, dismantleStatistics, fetchInfo, fetchShepherd, flockInfo, forget, getInfo, getShepherdStubCategory, initTimeNonInherited, isConstructed, isDestructed, isEqual, isKindOf, isShepherd, isStub, isUnlocked, linkTimeNonInherited, newShepherd, remember, restartAbraham, restartAbraham, returnToken, token |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Sequence myIdentifier
protected IDSpace myGlobalIDSpace
protected Counter myLocalIDSpaceCounter
protected FilterSpace myGlobalIDFilterSpace
protected CrossSpace myEndorsementSpace
protected FilterSpace myEndorsementFilterSpace
protected MuTable myIDHolders
protected MuTable myIDCounters
protected MuTable myRangeElements
protected MuTable myRangeElementIDs
protected Ent myEnt
protected ID myEmptyClubID
protected ID myPublicClubID
protected ID myAdminClubID
protected ID myArchiveClubID
protected ID myAccessClubID
protected ID myClubDirectoryID
protected BeEdition myGateLockSmithEdition
protected ImmuTable myWrapperEndorsements
protected PtrArray myEndorsementFlags
protected boolean myPurgeable
protected BeEdition myGrants
protected boolean myAcceptingConnectionsFlag
protected static IntegerVar BackendCount
| Constructor Detail |
public BeGrandMap(Sequence identifier)
public BeGrandMap(Rcvr receiver)
| Method Detail |
public void clubConsistencyCheck()
public void coldBoot()
public void restartBeGrandMap(Rcvr rcvr)
public void bePurgeable()
public boolean isPurgeable()
isPurgeable in class Abrahampublic int contentsHash()
Abraham
contentsHash in class Abrahampublic void acceptConnections(boolean open)
public ID assignID(BeRangeElement value)
public boolean atTryIntroduce(ID iD,
BeRangeElement value)
public ID clubDirectoryID()
public FilterSpace endorsementFilterSpace()
public CrossSpace endorsementSpace()
public BeRangeElement fetch(ID iD)
public BeClub fetchClub(ID iD)
public FeEdition gateLockSmithEdition()
public BeRangeElement get(ID iD)
public BeClub getClub(ID iD)
public FeRangeElement getFe(ID iD)
public Counter getOrMakeIDCounter(Sequence backend,
IntegerVar number)
public BeIDHolder getOrMakeIDHolder(ID iD)
public FilterSpace globalIDFilterSpace()
public IDSpace globalIDSpace()
public void grant(ID clubID,
IDRegion globalIDs)
public ID grantAt(ID iD)
public TableStepper grants(IDRegion clubIDs,
IDRegion globalIDs)
public Sequence identifier()
public ID iDOf(BeRangeElement value)
public IDRegion iDsOf(BeRangeElement value)
public boolean isAcceptingConnections()
public ID newID()
public IDSpace newIDSpace()
public ID placeOwnerID(ID iD)
public void setGateLockSmithEdition(FeEdition edition)
public ScruTable wrapperEndorsements()
public BeEdition newDataEdition(PrimDataArray values,
XnRegion keys,
OrderSpec ordering)
public BeEdition newEditionWith(Position key,
BeCarrier value)
public BeEdition newEditionWithAll(XnRegion keys,
BeCarrier value)
public BeEdition newEmptyEdition(CoordinateSpace cs)
public BeEdition newPlaceHolders(XnRegion region)
public BeEdition newValueEdition(PtrArray values,
XnRegion keys,
OrderSpec ordering)
public BeCarrier carrier(BeRangeElement element)
public BeClub newClub(FeEdition desc,
ID iD)
public BeDataHolder newDataHolder(PrimValue value)
public BeIDHolder newIDHolder(ID iD)
public BeLabel newLabel()
public BePlaceHolder newPlaceHolder()
public BeWork newWork(FeEdition contents)
public ID accessClubID()
public ID adminClubID()
public ID archiveClubID()
public ID emptyClubID()
public ID publicClubID()
public BeClub newClub(FeEdition desc)
public FeRangeElement getOrMakeFe(ID iD)
public IDSpace iDSpace(Sequence identifier)
public void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class Abrahampublic static Heaper make()
public static void staticTimeNonInherited()
public static IntegerVar xuTime()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||