|
||||||||
| 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.be.canopy.CanopyCache
| Field Summary | |
protected CanopyCrum |
myCachedCrum
|
protected MuSet |
myCachedPath
|
protected CanopyCrum |
myCachedRoot
|
| 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 | |
CanopyCache()
|
|
| Method Summary | |
int |
actualHashForEqual()
|
void |
clearCache()
Clear the cache because the canopy has changed. |
static Heaper |
make()
|
MuSet |
pathFor(CanopyCrum canopyCrum)
Return the set of all crums from canopyCrum (inclusive) to the top of canopyCrum's canopy. |
CanopyCrum |
rootFor(CanopyCrum bertCrum)
Return the crum at the top of canopyCrum's canopy. |
void |
updateCacheFor(CanopyCrum canopyCrum)
If the cache contains canopyCrum, it must be updated because canopyCrum has new parents. |
void |
updateCacheForParent(CanopyCrum childCrum,
CanopyCrum parentCrum)
If the cache contains childCrum it must be made to contain childCrum's new parent: parentCrum. Also update CachedRoot. |
| 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 CanopyCrum myCachedCrum
protected CanopyCrum myCachedRoot
protected MuSet myCachedPath
| Constructor Detail |
public CanopyCache()
| Method Detail |
public void clearCache()
public MuSet pathFor(CanopyCrum canopyCrum)
public CanopyCrum rootFor(CanopyCrum bertCrum)
public void updateCacheForParent(CanopyCrum childCrum,
CanopyCrum parentCrum)
public void updateCacheFor(CanopyCrum canopyCrum)
public int actualHashForEqual()
actualHashForEqual in class Heaperpublic static Heaper make()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||