|
||||||||
| 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.PropFinder
|
+--org.abora.gold.be.canopy.SensorPropFinder
|
+--org.abora.gold.be.canopy.AbstractRecorderFinder
|
+--org.abora.gold.be.canopy.CumulativeRecorderFinder
Propagates a change to all recorders which might be interested in it, and picking up all
elements which might newly be made visible by it. The generators make new finders as we
pass by additional Edition boundaries. Also holds onto a collection of simple finders
looking for recorders triggered by specific Works or Editions. The current set contains
those which might record the current edition, and are passed to all Recorders. The others
are only passed to Recorders with the directContainersOnly flag off.
| Field Summary | |
protected ImmuSet |
myCurrent
|
protected ImmuSet |
myGenerators
|
protected ImmuSet |
myOthers
|
| Fields inherited from class org.abora.gold.be.canopy.PropFinder |
myFlags |
| 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 | |
CumulativeRecorderFinder(int flags,
ImmuSet generators,
ImmuSet current,
ImmuSet others)
|
|
CumulativeRecorderFinder(Rcvr receiver)
|
|
| Method Summary | |
int |
actualHashForEqual()
|
void |
checkRecorder(ResultRecorder recorder,
RecorderFossil fossil)
While doing one step of a southward walk in the O-tree, filtered by the sensor canopy, looking for recorders that represent queries that are newly passed by the change of properties, where the object that changed properties and the change itself are represented by my state, record my object into the recorder if it newly passes the recorder's filtering criteria. See class comments of the various subclasses for details on the purpose of each kindOf AbstractRecorderFinder. |
ImmuSet |
current()
|
PropFinder |
findPast(BeEdition edition)
During a southwards walk of a multi-Edition (aka multi-Stamp), normally we simplify the finder by using PropFinder>>pass:. |
ImmuSet |
generators()
|
boolean |
isEqual(Heaper heaper)
Return true if the two objects are equal. |
static Heaper |
make(ImmuSet generators,
ImmuSet current,
ImmuSet others)
|
boolean |
match(Prop prop)
tell whether a prop matches this filter |
ImmuSet |
others()
|
PropFinder |
pass(CanopyCrum parent)
return a simple enough finder for looking at the children |
void |
sendSelfTo(Xmtr xmtr)
do nothing |
| Methods inherited from class org.abora.gold.be.canopy.AbstractRecorderFinder |
checkStamp, checkStamp, oldPass |
| Methods inherited from class org.abora.gold.be.canopy.PropFinder |
backfollowFinder, backfollowFinder, cannotPartializeFinder, closedPropFinder, doesPass, flags, isEmpty, isFull, openPropFinder, partialityFinder, recorderFinder, recorderPFinder, sensorFinder |
| 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 ImmuSet myGenerators
protected ImmuSet myCurrent
protected ImmuSet myOthers
| Constructor Detail |
public CumulativeRecorderFinder(int flags,
ImmuSet generators,
ImmuSet current,
ImmuSet others)
public CumulativeRecorderFinder(Rcvr receiver)
| Method Detail |
public void checkRecorder(ResultRecorder recorder,
RecorderFossil fossil)
AbstractRecorderFinder
checkRecorder in class AbstractRecorderFinderpublic ImmuSet current()
public PropFinder findPast(BeEdition edition)
PropFinder
findPast in class AbstractRecorderFinderpublic ImmuSet generators()
public boolean match(Prop prop)
AbstractRecorderFinder
match in class AbstractRecorderFinderpublic ImmuSet others()
public PropFinder pass(CanopyCrum parent)
PropFinder
pass in class PropFinderpublic int actualHashForEqual()
actualHashForEqual in class PropFinderpublic boolean isEqual(Heaper heaper)
Heaper
isEqual in class Heaperpublic void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class Heaper
public static Heaper make(ImmuSet generators,
ImmuSet current,
ImmuSet others)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||