org.abora.gold.be.ents
Class OExpandingLoaf

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.OExpandingLoaf
Direct Known Subclasses:
OPartialLoaf, OVirtualLoaf, RegionLoaf

public class OExpandingLoaf
extends Loaf

NOT.A.TYPE


Field Summary
protected  XnRegion myRegion
           
 
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
OExpandingLoaf(int hash, XnRegion region, HUpperCrum hcrum, SensorCrum sensor)
           
OExpandingLoaf(Rcvr receiver)
           
OExpandingLoaf(XnRegion region)
           
OExpandingLoaf(XnRegion region, HUpperCrum hcrum, SensorCrum sensor)
           
 
Method Summary
 byte actualSplay(XnRegion region, XnRegion limitRegion)
          Return an Inner loaf which is an expansion of me.
 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)
          Default south-to-north turnaround point during 'now' part of backfollow (which is
leafward, then rootward, in the H-tree, filtered by the Bert canopy).
 java.lang.String displayString()
           
 XnRegion domain()
           
 FeRangeElement fetch(Position key, BeEdition edition, Position globalKey)
          Look up the range element for the key.
 OExpandingLoaf fetchBottomAt(Position key)
          I'm at the bottom.
 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)
          Fill an array with my contents
 BeRangeElement getBe(Position key)
          Get or Make the BeRangeElement at the location.
 void informTo(OrglRoot orgl)
           
 void inspect()
           
 boolean isPartial()
           
 XnRegion keysLabelled(BeLabel label)
          This gets overridden by RegionLoaf.
 ID owner()
          Return the owner of the atoms represented by the receiver.
 void printOn(java.io.PrintWriter aStream)
           
 XnRegion rangeOwners(XnRegion positions)
           
 void sendSelfTo(Xmtr xmtr)
          do nothing
 OrglRoot setAllOwners(ID owner)
          If the CurrentKeyMaster includes the owner of this loaf
then change the owner and return NULL
else just return self.
 XnRegion sharedRegion(TracePosition trace, XnRegion limitRegion)
          Return a region describing the stuff that can backfollow to trace.
 PrimSpec spec()
          Return the PrimSpec that describes the representation of the data.
 byte splay(XnRegion region, XnRegion limitRegion)
          Make each child completely contained or completely outside
the region.
 void storeRecordingAgents(RecorderFossil recorder, Agenda agenda)
          Go ahead and actually store the recorder in the sensor canopy.
 void triggerDetector(FeFillRangeDetector detect)
          A Detector has been added to my parent.
 XnRegion usedDomain()
           
 void wait(XnSensor sensor)
           
 
Methods inherited from class org.abora.gold.be.ents.Loaf
addOParent, asFeEdition, checkChildRecorders, checkRecorders, checkRecorders, delayedStoreMatching, dismantle, hCrum, inform, make, make, make, removeOParent, storeMatching, transformedBy, unTransformedBy, updateBCrumTo
 
Methods inherited from class org.abora.gold.be.ents.OPart
hinspect, inspectCanopy, inspectMenuArray, inspectRecorderCanopy, mappingTo, 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, 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

myRegion

protected XnRegion myRegion
Constructor Detail

OExpandingLoaf

public OExpandingLoaf(XnRegion region)

OExpandingLoaf

public OExpandingLoaf(XnRegion region,
                      HUpperCrum hcrum,
                      SensorCrum sensor)

OExpandingLoaf

public OExpandingLoaf(int hash,
                      XnRegion region,
                      HUpperCrum hcrum,
                      SensorCrum sensor)

OExpandingLoaf

public OExpandingLoaf(Rcvr receiver)
Method Detail

bundleStepper

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

Overrides:
bundleStepper in class Loaf

combine

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

Overrides:
combine in class Loaf

informTo

public void informTo(OrglRoot orgl)

isPartial

public boolean isPartial()

splay

public byte splay(XnRegion region,
                  XnRegion limitRegion)
Make each child completely contained or completely outside
the region. Return the number of children completely in the region.
Handle the containment cases using myRegion.

Overrides:
splay 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 Loaf

checkChildRecorders

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

Overrides:
checkChildRecorders in class Loaf

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 Loaf

delayedStoreMatching

public void delayedStoreMatching(PropFinder finder,
                                 RecorderFossil fossil,
                                 ResultRecorder recorder,
                                 HashSetCache hCrumCache)
Default south-to-north turnaround point during 'now' part of backfollow (which is
leafward, then rootward, in the H-tree, filtered by the Bert canopy). (Sometimes
overridden).
(OExpandingLoaf is the supercalss of all O-tree leaf types.)

Overrides:
delayedStoreMatching in class Loaf

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 Loaf

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 Loaf

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 Loaf

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 Loaf

count

public IntegerVar count()
Overrides:
count in class Loaf

domain

public XnRegion domain()
Overrides:
domain in class Loaf

fetch

public FeRangeElement fetch(Position key,
                            BeEdition edition,
                            Position globalKey)
Description copied from class: Loaf
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 Loaf

fetchBottomAt

public OExpandingLoaf fetchBottomAt(Position key)
I'm at the bottom.

Overrides:
fetchBottomAt in class Loaf

fill

public void fill(XnRegion keys,
                 Arrangement toArrange,
                 PrimArray toArray,
                 Dsp globalDsp,
                 BeEdition edition)
Fill an array with my contents

Overrides:
fill in class Loaf

getBe

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

Overrides:
getBe in class Loaf

keysLabelled

public XnRegion keysLabelled(BeLabel label)
This gets overridden by RegionLoaf.

Overrides:
keysLabelled in class Loaf

owner

public ID owner()
Return the owner of the atoms represented by the receiver.


rangeOwners

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

setAllOwners

public OrglRoot setAllOwners(ID owner)
If the CurrentKeyMaster includes the owner of this loaf
then change the owner and return NULL
else just return self.

Overrides:
setAllOwners in class Loaf

sharedRegion

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

Overrides:
sharedRegion in class Loaf

spec

public PrimSpec spec()
Return the PrimSpec that describes the representation of the data.


usedDomain

public XnRegion usedDomain()
Overrides:
usedDomain in class Loaf

printOn

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

actualSplay

public byte actualSplay(XnRegion region,
                        XnRegion limitRegion)
Return an Inner loaf which is an expansion of me. The area in the region must go
into the leftCrum of my substitute, or the splay algorithm will fail!! implementations
must call diskUpdate.

Overrides:
actualSplay 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

crums

public void crums()

displayString

public java.lang.String displayString()
Overrides:
displayString in class AboraHeaper

inspect

public void inspect()
Overrides:
inspect in class OPart

wait

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

sendSelfTo

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

Overrides:
sendSelfTo in class Loaf


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