|
||||||||
| 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.canopy.CanopyCrum
|
+--org.abora.gold.be.canopy.BertCrum
This implementation tracks the endorsement information with
a strictly binary tree. The tree gets heuristically balanced
upon insertion of new elements in such a way that the ocrums
pointing at a particular canopyCrum need not be updated.
Therefore we should not bother storing backpointers. I''m
doing so currently in case we change algorithms.
Deletion may require backpointers to eliminate joins
with the deleted crums.
| Field Summary |
| Fields inherited from class org.abora.gold.be.canopy.CanopyCrum |
child1, child2, FlagEndorsements, maxH, minH, myFlags, myOwnFlags, myRefCount, OtherClubs, OtherEndorsements, parent, TheEFlagsCache, ThePFlagsCache |
| 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 | |
BertCrum()
Make a canopyCrum for a root: it has no children. |
|
BertCrum(BertCrum first,
BertCrum second)
Create a new parent for two BertCrums. My client must bring my properties up to date. |
|
BertCrum(Rcvr receiver)
|
|
| Method Summary | |
CanopyCrum |
another()
BertCrum create verify2. |
CanopyCache |
canopyCache()
should have one per Ent |
static int |
flagsFor(IDRegion permissions,
CrossRegion endorsements,
boolean isNotPartializable,
boolean isSensorWaiting)
The flag word corresponding to the given props |
PropChange |
fullChange()
|
void |
inspectHCrums()
|
void |
inspectMenuArray()
|
boolean |
isNotPartializable()
|
static int |
isNotPartializableFlag()
Flag bit for active Editions |
boolean |
isSensorWaiting()
|
static int |
isSensorWaitingFlag()
Flag bit for active Editions |
static Heaper |
make()
|
CanopyCrum |
makeNew()
|
CanopyCrum |
makeNewParent(CanopyCrum first,
CanopyCrum second)
Make a new crum that contains both first and second. This method just makes a new parent whose properties are empty. |
void |
printOn(java.lang.Object aStream)
|
void |
sendSelfTo(Xmtr xmtr)
do nothing |
void |
showOn(java.lang.Object oo)
|
static void |
staticTimeNonInherited()
|
| Methods inherited from class org.abora.gold.be.canopy.CanopyCrum |
addPointer, changeCanopy, changeCanopy, changeHeight, childArray, children, computeJoin, contentsHash, dismantle, displayString, endorsementFlagLimit, endorsementsFlags, expand, fetchChild1, fetchChild2, fetchParent, firstEndorsementsFlag, flags, heightDiff, includeCanopy, initTimeNonInherited, inspect, inspectSubCanopy, isLE, isLeaf, joint, linkTimeNonInherited, makeJoin, maxHeight, minHeight, otherClubsFlag, otherEndorsementsFlag, ownFlags, permissionsFlags, propChanger, publicClubFlag, refCount, removePointer, setOwnFlags, setParent, useEndorsementFlags, verify1, verify2, verifyHeight |
| Methods inherited from class org.abora.gold.snarf.Abraham |
actualHashForEqual, becomeStub, cleanupGarbage, destroy, destruct, diskUpdate, dismantleStatistics, fetchInfo, fetchShepherd, flockInfo, forget, getInfo, getShepherdStubCategory, isConstructed, isDestructed, isEqual, isKindOf, isPurgeable, isShepherd, isStub, isUnlocked, newShepherd, remember, restartAbraham, restartAbraham, returnToken, token |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, error, hack, halt, 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 |
| Constructor Detail |
public BertCrum()
public BertCrum(BertCrum first,
BertCrum second)
public BertCrum(Rcvr receiver)
| Method Detail |
public CanopyCache canopyCache()
canopyCache in class CanopyCrumpublic CanopyCrum makeNew()
makeNew in class CanopyCrumpublic CanopyCrum another()
another in class CanopyCrumpublic void inspectHCrums()
public void inspectMenuArray()
public void printOn(java.lang.Object aStream)
public void showOn(java.lang.Object oo)
public CanopyCrum makeNewParent(CanopyCrum first,
CanopyCrum second)
CanopyCrum
makeNewParent in class CanopyCrumpublic PropChange fullChange()
fullChange in class CanopyCrumpublic boolean isNotPartializable()
public boolean isSensorWaiting()
public void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class CanopyCrumpublic static void staticTimeNonInherited()
public static Heaper make()
public static int flagsFor(IDRegion permissions,
CrossRegion endorsements,
boolean isNotPartializable,
boolean isSensorWaiting)
public static int isNotPartializableFlag()
public static int isSensorWaitingFlag()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||