|
||||||||
| 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.SensorCrum
This implementation is the same as BertCrums. This will require
pointers into the ent to implement delete (for archiving). Canopy
reorganization could be achieved by removing several orgls, then
re-adding them (archive then restore).
| Field Summary | |
protected ImmuSet |
myBackfollowRecorders
|
| 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 | |
SensorCrum()
Make a canopyCrum for a root: it has no children. |
|
SensorCrum(int flags)
Make a canopyCrum for a root: it has no children. |
|
SensorCrum(Rcvr receiver)
|
|
SensorCrum(SensorCrum first,
SensorCrum second)
Create a new parent for two SensorCrums. This constructor just makes a new parent whose properties are empty. |
|
| Method Summary | |
CanopyCrum |
another()
SensorCrum create verify2. |
CanopyCache |
canopyCache()
should have one per Ent |
void |
changeCanopy(java.lang.Object f)
|
PropFinder |
checkRecorders(BeEdition stamp,
PropFinder finder,
SensorCrum sCrum)
|
PropFinder |
checkRecorders(PropFinder finder,
SensorCrum scrum)
Set off all recorders that respond to the change either in me or in any of my ancestors up to but not including sCrum (If I am the same as sCrum, skip me as well.) (If sCrum is null, search through all my ancestors to a root of the sensor canopy.) return simplest finder for looking at children |
java.lang.String |
displayString()
|
SensorCrum |
fetchNextAfterTriggeringRecorders(BeEdition stamp,
PropFinder finder,
SensorCrum sCrum)
|
SensorCrum |
fetchNextAfterTriggeringRecorders(PropFinder finder,
SensorCrum sCrum)
Set off all recorders in me that respond to the change, if appropriate (If I am the same as sCrum, skip me.) If sCrum is null or not me, return my parent so caller can iterate through my ancestors to sCrum or a root. |
static int |
flagsFor(IDRegion permissions,
CrossRegion endorsements,
boolean isPartial)
The flag word corresponding to the given props |
PropChange |
fullChange()
|
void |
inspectMenuArray()
|
void |
inspectOParts()
|
void |
installRecorders(ImmuSet recorders)
Installs the recorders in my set and updates myOwnProp accordingly. The caller has already checked that none of these recorders are already installed here. The caller also handles updating myFlags. The caller also handles all issues of rootward propagation of these changes. The caller also does the 'diskUpdate'. This is a separate method because it's called once by the code that installs a new recorder, and again by the code that recursively hoists recurders up the canopy. add the new recorders to my set for each new recorder if it hasn't gone extinct extract its properties union them into my own |
boolean |
isPartial()
|
static int |
isPartialFlag()
Flag bit for existence of partiality |
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. |
static SensorCrum |
partial()
|
void |
printOn(java.lang.Object aStream)
|
void |
record(RecorderFossil recorder)
|
ImmuSet |
recorders()
|
AgendaItem |
recordingAgent(RecorderFossil recorder)
NOTE: The AgendaItem returned is not yet scheduled. |
void |
removeRecorders(ImmuSet recorders)
Remove recorders because they have migrated rootward. Recalculate myOwnFlags and myFlags. |
void |
sendSelfTo(Xmtr xmtr)
do nothing |
static void |
staticTimeNonInherited()
|
void |
triggerRecorders(Stamp stamp,
PropFinder finder,
SensorCrum sCrum)
|
| Methods inherited from class org.abora.gold.be.canopy.CanopyCrum |
addPointer, changeCanopy, changeCanopy, changeHeight, childArray, children, computeJoin, contentsHash, dismantle, 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 |
| Field Detail |
protected ImmuSet myBackfollowRecorders
| Constructor Detail |
public SensorCrum()
public SensorCrum(int flags)
public SensorCrum(SensorCrum first,
SensorCrum second)
public SensorCrum(Rcvr receiver)
| Method Detail |
public CanopyCrum another()
another in class CanopyCrumpublic java.lang.String displayString()
displayString in class CanopyCrumpublic void inspectMenuArray()
public void inspectOParts()
public void printOn(java.lang.Object aStream)
public CanopyCache canopyCache()
canopyCache in class CanopyCrumpublic CanopyCrum makeNew()
makeNew in class CanopyCrum
public PropFinder checkRecorders(PropFinder finder,
SensorCrum scrum)
public SensorCrum fetchNextAfterTriggeringRecorders(PropFinder finder,
SensorCrum sCrum)
public boolean isPartial()
public ImmuSet recorders()
public AgendaItem recordingAgent(RecorderFossil recorder)
public void removeRecorders(ImmuSet recorders)
public void installRecorders(ImmuSet recorders)
public CanopyCrum makeNewParent(CanopyCrum first,
CanopyCrum second)
CanopyCrum
makeNewParent in class CanopyCrum
public PropFinder checkRecorders(BeEdition stamp,
PropFinder finder,
SensorCrum sCrum)
public SensorCrum fetchNextAfterTriggeringRecorders(BeEdition stamp,
PropFinder finder,
SensorCrum sCrum)
public void record(RecorderFossil recorder)
public void triggerRecorders(Stamp stamp,
PropFinder finder,
SensorCrum sCrum)
public void changeCanopy(java.lang.Object f)
public PropChange fullChange()
fullChange in class CanopyCrumpublic void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class CanopyCrumpublic static void staticTimeNonInherited()
public static Heaper make()
public static SensorCrum partial()
public static int flagsFor(IDRegion permissions,
CrossRegion endorsements,
boolean isPartial)
public static int isPartialFlag()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||