org.abora.gold.be.canopy
Class SimpleRecorderFinder

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.SimpleRecorderFinder
Direct Known Subclasses:
ContainedEditionRecorderEFinder, OriginalResultRecorderEFinder, ResultRecorderPFinder

public class SimpleRecorderFinder
extends AbstractRecorderFinder

A finder which holds onto a RangeElement and looks for ResultRecorders which might want to
record it NOT.A.TYPE


Field Summary
protected  BeRangeElement myRangeElement
           
 
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
SimpleRecorderFinder()
           
SimpleRecorderFinder(int flags, BeRangeElement element)
           
SimpleRecorderFinder(Rcvr receiver)
           
 
Method Summary
 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.
 BeEdition edition()
           
 PropFinder findPast(BeEdition edition)
          During a southwards walk of a multi-Edition (aka multi-Stamp), normally we simplify the
finder by using PropFinder>>pass:.
 boolean match(Prop prop)
          tell whether a prop matches this filter
 PropFinder oldPass(PropJoint parent)
           
 BeRangeElement rangeElement()
           
 void sendSelfTo(Xmtr xmtr)
          do nothing
 boolean shouldTrigger(ResultRecorder recorder, RecorderFossil fossil)
          Whether the recorder should be triggered with my RangeElement
 BeWork work()
           
 
Methods inherited from class org.abora.gold.be.canopy.AbstractRecorderFinder
checkStamp, checkStamp, oldPass
 
Methods inherited from class org.abora.gold.be.canopy.PropFinder
actualHashForEqual, backfollowFinder, backfollowFinder, cannotPartializeFinder, closedPropFinder, doesPass, flags, isEmpty, isFull, openPropFinder, partialityFinder, pass, recorderFinder, recorderPFinder, sensorFinder
 
Methods inherited from class org.abora.gold.xpp.basic.Heaper
abstractDeclarationFor, abstractTypeFor, addMethodAttributeToInOf, addPackage, addPackageCategory, allClientProtocolOn, argumentTypesFor, arrow, blast, blast, BLAST, cachePromiseNameTable, cachePromiseNameTableIn, canYouBecome, cast, cleanPromiseClasses, cleanupGarbage, clientClassesDo, clientFunctionsOn, clientMethodsOn, clientProtocol, clientProtocolDo, clientProtocolOn, clientProtocolOn, collectibleClasses, compare, compileClientSubclasses, compileConstantPromiseMethods, compileCreateFromRcvr, compileEQ, compileGeneratedClassMethod, compileGeneratedMethod, compileHook, compilePromise, compilePromiseDefaultMethods, compilePromiseFluidDeclarations, compilePromiseHandlers, compilePromiseMethods, compileRequestCreateMsgInArguments, compileRequestEvaluateMsgInReturningArguments, compileRPCSpecialistEvaluateMsgForReturningArguments, compileSendSelfTo, compileSendSelfToSendHook, compileStubbleMethods, compileSubclassStubbleMethods, computeMangle, computePreorder, constantTypeValue, convert, convertCopyDeclarations, convertDeferredDeclarations, convertProxyDeclarations, convertSubclassCopyDeclarations, convertSubclassDeferredDeclarations, convertSubclassProxyDeclarations, copyReferencesToType, create, create, create, create, create, create, create, create, create, create, createRequestClassArguments, definesProxyMethods, delete, deref, destroy, destruct, destructor, enum, enumFlags, equals, exportName, fetchAttribute, fetchPackage, fetchSuperCategory, fileOutClientProtocol, findCategory, findSenderAndReceiverMethods, findTailInto, flushPromiseNameTable, foo, freezeClientClasses, freezeClientProtocol, freezeStProtocol, frozenClasses, garbageCollect, garbageCollectFrom, gcOpportunity, gcOpportunity, generatedCategory, generatePromiseNames, getCategory, getOrMakePackage, getSuperCategory, handlerSignaturesFrom, hash, hashForEqual, hasProxyMethods, info_clientClasses, info_clientSideClasses, info_promiseClasses, info_stProtocol, inGC, initializedClasses, initializingClasses, initPackages, initStringHashSBoxes, inspectPieces, instanceSize, IntegerVar, isByProxy, isConstructed, isDestructed, isEqual, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, isUnlocked, linkTimeNonInherited, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, printOn, PROBLEM, problems, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, serverNameFor, setGC, signal, signals, smalltalkSelector, stClientProtocol, stubbleSelectorTokenReturnsArguments, subclassNonCopyVariables, takeOop, togglePromiseName, togglePromiseOfParse, unimplemented, unmangle, verifyFreeze, wipeStubble
 
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

myRangeElement

protected BeRangeElement myRangeElement
Constructor Detail

SimpleRecorderFinder

public SimpleRecorderFinder()

SimpleRecorderFinder

public SimpleRecorderFinder(int flags,
                            BeRangeElement element)

SimpleRecorderFinder

public SimpleRecorderFinder(Rcvr receiver)
Method Detail

findPast

public PropFinder findPast(BeEdition edition)
Description copied from class: PropFinder
During a southwards walk of a multi-Edition (aka multi-Stamp), normally we simplify the
finder by using PropFinder>>pass:. However, when we cross an internal Edition boundary
and are about to walk into the O-plane of that contained edition we call this method
(findPast:) to get the new PropFinder.

Overrides:
findPast in class AbstractRecorderFinder

match

public boolean match(Prop prop)
Description copied from class: AbstractRecorderFinder
tell whether a prop matches this filter

Overrides:
match in class AbstractRecorderFinder

checkRecorder

public void checkRecorder(ResultRecorder recorder,
                          RecorderFossil fossil)
Description copied from class: AbstractRecorderFinder
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.

Overrides:
checkRecorder in class AbstractRecorderFinder

shouldTrigger

public boolean shouldTrigger(ResultRecorder recorder,
                             RecorderFossil fossil)
Whether the recorder should be triggered with my RangeElement


edition

public BeEdition edition()

rangeElement

public BeRangeElement rangeElement()

work

public BeWork work()

oldPass

public PropFinder oldPass(PropJoint parent)

sendSelfTo

public void sendSelfTo(Xmtr xmtr)
Description copied from class: Heaper
do nothing

Overrides:
sendSelfTo in class Heaper


Translation - Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.