org.abora.gold.be.ents
Class DspLoaf

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.snarf.Abraham
                    |
                    +--org.abora.gold.be.ents.OPart
                          |
                          +--org.abora.gold.be.ents.Loaf
                                |
                                +--org.abora.gold.be.ents.InnerLoaf
                                      |
                                      +--org.abora.gold.be.ents.DspLoaf

public class DspLoaf
extends InnerLoaf


Field Summary
protected  Dsp myDsp
           
protected  Loaf myO
           
 
Fields inherited from class org.abora.gold.be.ents.Loaf
myHCrum
 
Fields inherited from class org.abora.gold.be.ents.OPart
mySensorCrum
 
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
DspLoaf(Loaf loaf, Dsp dsp)
           
DspLoaf(Rcvr receiver)
           
 
Method Summary
 byte actualSplay(XnRegion region, XnRegion limitRegion)
          Make each child completely contained or completely outside
the region.
 void addOParent(OPart oparent)
          add oparent to the set of upward pointers and update the bertCrums my child.
 XnRegion attachTrailBlazer(TrailBlazer blazer)
          Attach the TrailBlazer to this Edition, and return the region of partiality it is attached
to
 Stepper bundleStepper(XnRegion region, OrderSpec order, Dsp globalDsp)
          Return a stepper of bundles according to the order.
 void checkChildRecorders(PropFinder finder)
          send checkRecorders to all children
 void checkTrailBlazer(TrailBlazer blazer)
          Make sure that everyone below here that might have a TrailBlazer, has the given one
 OrglRoot combine(ActualOrglRoot another, XnRegion limitRegion, Dsp globalDsp)
          Accumulate dsp downward.
 Mapping compare(TracePosition trace, XnRegion region)
          return a mapping from my data to corresponding stuff in the given trace
 int contentsHash()
          A hash of the contents of this flock
 IntegerVar count()
           
 void crums()
           
 void delayedStoreMatching(PropFinder finder, RecorderFossil fossil, ResultRecorder recorder, HashSetCache hCrumCache)
          Inner loaf: Just forward south to all children.
 void dismantle()
          Disconnect me from the universe and throw me off the disk.
For GC safety, we keep a strongptr to ourself -- is this still necessary?
 XnRegion domain()
           
 FeRangeElement fetch(Position key, BeEdition edition, Position globalKey)
          Look up the range element for the key.
 OExpandingLoaf fetchBottomAt(Position key)
          Return the bottom-most Loaf.
 TrailBlazer fetchTrailBlazer()
          If there is a TrailBlazer somewhere below this Edition, return one of them
 void fill(XnRegion keys, Arrangement toArrange, PrimArray toArray, Dsp globalDsp, BeEdition edition)
          Make an FeRangeElement for each position.
 BeRangeElement getBe(Position key)
          Get or Make the BeRangeElement at the location.
 Loaf inPart()
          This is used by the splay algorithms.
 XnRegion keysLabelled(BeLabel label)
          Just search for now.
 Mapping mappingTo(TracePosition trace, Mapping initial)
          return the mapping into the domain space of the given trace
 Loaf outPart()
          This is used by the splay algorithms.
 void printOn(java.io.PrintWriter aStream)
           
 XnRegion rangeOwners(XnRegion positions)
           
 void sendSelfTo(Xmtr xmtr)
          do nothing
 OrglRoot setAllOwners(ID owner)
          Recur assigning owners.
 XnRegion sharedRegion(TracePosition trace, XnRegion limitRegion)
          Return a region describing the stuff that can backfollow to trace.
 void storeRecordingAgents(RecorderFossil recorder, Agenda agenda)
          Go ahead and actually store the recorder in the sensor canopy.
 boolean testChild(Loaf child)
          Return true if child is a child.
 boolean testHChild(HistoryCrum child)
          Return true if child is a child.
 Loaf transformedBy(Dsp externalDsp)
          Return a copy with externalDsp added to the receiver's dsp.
 void triggerDetector(FeFillRangeDetector detect)
          A Detector has been added to my parent.
 Loaf unTransformedBy(Dsp externalDsp)
          Return a copy with externalDsp removed from the receiver's dsp.
 boolean updateBCrumTo(BertCrum newBCrum)
          My bertCrum must not be leafward of newBCrum.
Thus it must be LE to newCrum.
 XnRegion usedDomain()
           
 void wait(XnSensor sensor)
           
 
Methods inherited from class org.abora.gold.be.ents.InnerLoaf
make, make, make
 
Methods inherited from class org.abora.gold.be.ents.Loaf
asFeEdition, checkChildRecorders, checkRecorders, checkRecorders, delayedStoreMatching, hCrum, inform, make, make, make, removeOParent, splay, storeMatching
 
Methods inherited from class org.abora.gold.be.ents.OPart
hinspect, inspect, inspectCanopy, inspectMenuArray, inspectRecorderCanopy, sensorCrum, showOn
 
Methods inherited from class org.abora.gold.snarf.Abraham
actualHashForEqual, becomeStub, cleanupGarbage, destroy, destruct, diskUpdate, dismantleStatistics, fetchInfo, fetchShepherd, flockInfo, forget, getInfo, getShepherdStubCategory, initTimeNonInherited, isConstructed, isDestructed, isEqual, isKindOf, isPurgeable, isShepherd, isStub, isUnlocked, linkTimeNonInherited, newShepherd, remember, restartAbraham, restartAbraham, returnToken, staticTimeNonInherited, token
 
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, 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, 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, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, 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, 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

myDsp

protected Dsp myDsp

myO

protected Loaf myO
Constructor Detail

DspLoaf

public DspLoaf(Loaf loaf,
               Dsp dsp)

DspLoaf

public DspLoaf(Rcvr receiver)
Method Detail

compare

public Mapping compare(TracePosition trace,
                       XnRegion region)
return a mapping from my data to corresponding stuff in the given trace

Overrides:
compare in class InnerLoaf

count

public IntegerVar count()
Overrides:
count in class InnerLoaf

domain

public XnRegion domain()
Overrides:
domain in class InnerLoaf

fetch

public FeRangeElement fetch(Position key,
                            BeEdition edition,
                            Position globalKey)
Look up the range element for the key. If it is embedded within a virtual
structure, then make a virtual range element using the edition and globalKey.

Overrides:
fetch in class InnerLoaf

fetchBottomAt

public OExpandingLoaf fetchBottomAt(Position key)
Return the bottom-most Loaf. Used to get the owner and such of a position.

Overrides:
fetchBottomAt in class InnerLoaf

fill

public void fill(XnRegion keys,
                 Arrangement toArrange,
                 PrimArray toArray,
                 Dsp globalDsp,
                 BeEdition edition)
Make an FeRangeElement for each position.

Overrides:
fill in class InnerLoaf

getBe

public BeRangeElement getBe(Position key)
Get or Make the BeRangeElement at the location.

Overrides:
getBe in class InnerLoaf

inPart

public Loaf inPart()
This is used by the splay algorithms.

Overrides:
inPart in class InnerLoaf

mappingTo

public Mapping mappingTo(TracePosition trace,
                         Mapping initial)
return the mapping into the domain space of the given trace

Overrides:
mappingTo in class OPart

outPart

public Loaf outPart()
This is used by the splay algorithms.

Overrides:
outPart in class InnerLoaf

rangeOwners

public XnRegion rangeOwners(XnRegion positions)
Overrides:
rangeOwners in class InnerLoaf

setAllOwners

public OrglRoot setAllOwners(ID owner)
Recur assigning owners. Return the portion of the o-tree that couldn't be assigned.

Overrides:
setAllOwners in class InnerLoaf

usedDomain

public XnRegion usedDomain()
Overrides:
usedDomain in class InnerLoaf

actualSplay

public byte actualSplay(XnRegion region,
                        XnRegion limitRegion)
Make each child completely contained or completely outside
the region. Return the number of children completely in the region.

Overrides:
actualSplay in class InnerLoaf

bundleStepper

public Stepper bundleStepper(XnRegion region,
                             OrderSpec order,
                             Dsp globalDsp)
Return a stepper of bundles according to the order.

Overrides:
bundleStepper in class InnerLoaf

combine

public OrglRoot combine(ActualOrglRoot another,
                        XnRegion limitRegion,
                        Dsp globalDsp)
Accumulate dsp downward.

Overrides:
combine in class InnerLoaf

keysLabelled

public XnRegion keysLabelled(BeLabel label)
Just search for now.

Overrides:
keysLabelled in class InnerLoaf

sharedRegion

public XnRegion sharedRegion(TracePosition trace,
                             XnRegion limitRegion)
Return a region describing the stuff that can backfollow to trace.

Overrides:
sharedRegion in class InnerLoaf

transformedBy

public Loaf transformedBy(Dsp externalDsp)
Return a copy with externalDsp added to the receiver's dsp.

Overrides:
transformedBy in class Loaf

unTransformedBy

public Loaf unTransformedBy(Dsp externalDsp)
Return a copy with externalDsp removed from the receiver's dsp.

Overrides:
unTransformedBy in class Loaf

printOn

public void printOn(java.io.PrintWriter aStream)
Overrides:
printOn in class Heaper

addOParent

public void addOParent(OPart oparent)
add oparent to the set of upward pointers and update the bertCrums my child.

Overrides:
addOParent in class Loaf

attachTrailBlazer

public XnRegion attachTrailBlazer(TrailBlazer blazer)
Description copied from class: OPart
Attach the TrailBlazer to this Edition, and return the region of partiality it is attached
to

Overrides:
attachTrailBlazer in class InnerLoaf

checkChildRecorders

public void checkChildRecorders(PropFinder finder)
send checkRecorders to all children

Overrides:
checkChildRecorders in class InnerLoaf

checkTrailBlazer

public void checkTrailBlazer(TrailBlazer blazer)
Description copied from class: OPart
Make sure that everyone below here that might have a TrailBlazer, has the given one

Overrides:
checkTrailBlazer in class InnerLoaf

delayedStoreMatching

public void delayedStoreMatching(PropFinder finder,
                                 RecorderFossil fossil,
                                 ResultRecorder recorder,
                                 HashSetCache hCrumCache)
Description copied from class: InnerLoaf
Inner loaf: Just forward south to all children.

Overrides:
delayedStoreMatching in class InnerLoaf

fetchTrailBlazer

public TrailBlazer fetchTrailBlazer()
Description copied from class: OPart
If there is a TrailBlazer somewhere below this Edition, return one of them

Overrides:
fetchTrailBlazer in class InnerLoaf

storeRecordingAgents

public void storeRecordingAgents(RecorderFossil recorder,
                                 Agenda agenda)
Description copied from class: Loaf
Go ahead and actually store the recorder in the sensor canopy. However, instead of
propogating the props immediately, accumulate all those agenda items into the 'agenda'
parameter. This is done instead of scheduling them directly because our client needs to
schedule something else following all the prop propogation.

Overrides:
storeRecordingAgents in class InnerLoaf

triggerDetector

public void triggerDetector(FeFillRangeDetector detect)
Description copied from class: Loaf
A Detector has been added to my parent. Walk down and trigger it on all non-partial stuff

Overrides:
triggerDetector in class InnerLoaf

updateBCrumTo

public boolean updateBCrumTo(BertCrum newBCrum)
My bertCrum must not be leafward of newBCrum.
Thus it must be LE to newCrum. Otherwise correct it and recur.

Overrides:
updateBCrumTo in class Loaf

crums

public void crums()

testChild

public boolean testChild(Loaf child)
Return true if child is a child. Used for debugging.


testHChild

public boolean testHChild(HistoryCrum child)
Return true if child is a child. Used for debugging.


dismantle

public void dismantle()
Description copied from class: Abraham
Disconnect me from the universe and throw me off the disk.
For GC safety, we keep a strongptr to ourself -- is this still necessary?

Overrides:
dismantle in class Loaf

contentsHash

public int contentsHash()
Description copied from class: Abraham
A hash of the contents of this flock

Overrides:
contentsHash in class Loaf

wait

public void wait(XnSensor sensor)
Overrides:
wait in class InnerLoaf

sendSelfTo

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

Overrides:
sendSelfTo in class InnerLoaf


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