org.abora.gold.be.ents
Class OPartialLoaf

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
                                      |
                                      +--org.abora.gold.be.ents.OPartialLoaf

public class OPartialLoaf
extends OExpandingLoaf


Field Summary
protected  ID myOwner
           
protected  TrailBlazer myTrailBlazer
           
 
Fields inherited from class org.abora.gold.be.ents.OExpandingLoaf
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
OPartialLoaf(Rcvr receiver)
           
OPartialLoaf(XnRegion region)
           
OPartialLoaf(XnRegion region, HUpperCrum hcrum, SensorCrum scrum)
           
OPartialLoaf(XnRegion region, HUpperCrum hcrum, SensorCrum scrum, ID owner, TrailBlazer blazer)
           
 
Method Summary
 byte actualSoftSplay(XnRegion region, XnRegion limitRegion)
          Don't expand me in place.
 byte actualSplay(XnRegion region, XnRegion limitRegion)
          Expand my partial tree in place.
 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 checkTrailBlazer(TrailBlazer blazer)
          Make sure that everyone below here that might have a TrailBlazer, has the given one
 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?
 FeRangeElement fetch(Position key, BeEdition edition, Position globalKey)
          Make a virtual PlaceHolder.
 TrailBlazer fetchTrailBlazer()
          If there is a TrailBlazer somewhere below this Edition, return one of them
 void fill(XnRegion keys, Arrangement toArrange, PrimArray toArray, Dsp dsp, BeEdition edition)
          Make an FeRangeElement for each position.
 BeRangeElement getBe(Position key)
          Get or make the BeRangeElement at the location.
 void inform(Position key, BeRangeElement element, TracePosition trace)
          inform a piece of partiality
 void informTo(OrglRoot orgl)
           
 boolean isPartial()
          Partial crums are always partial.
static Heaper make(XnRegion region, HUpperCrum hcrum, SensorCrum scrum)
           
 ID owner()
          Return the owner of the atoms represented by the receiver.
 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.
 PrimSpec spec()
          Return the PrimSpec that describes the representation of the data.
 void triggerDetector(FeFillRangeDetector detect)
          do nothing
 XnRegion usedDomain()
           
 void wait(XnSensor sensor)
           
 
Methods inherited from class org.abora.gold.be.ents.OExpandingLoaf
checkChildRecorders, combine, compare, contentsHash, count, crums, delayedStoreMatching, displayString, domain, fetchBottomAt, inspect, keysLabelled, printOn, rangeOwners, sharedRegion, splay, storeRecordingAgents
 
Methods inherited from class org.abora.gold.be.ents.Loaf
addOParent, asFeEdition, checkChildRecorders, checkRecorders, checkRecorders, delayedStoreMatching, 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

myOwner

protected ID myOwner

myTrailBlazer

protected TrailBlazer myTrailBlazer
Constructor Detail

OPartialLoaf

public OPartialLoaf(XnRegion region)

OPartialLoaf

public OPartialLoaf(XnRegion region,
                    HUpperCrum hcrum,
                    SensorCrum scrum)

OPartialLoaf

public OPartialLoaf(XnRegion region,
                    HUpperCrum hcrum,
                    SensorCrum scrum,
                    ID owner,
                    TrailBlazer blazer)

OPartialLoaf

public OPartialLoaf(Rcvr receiver)
Method Detail

fetch

public FeRangeElement fetch(Position key,
                            BeEdition edition,
                            Position globalKey)
Make a virtual PlaceHolder.

Overrides:
fetch in class OExpandingLoaf

getBe

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

Overrides:
getBe in class OExpandingLoaf

owner

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

Overrides:
owner in class OExpandingLoaf

spec

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

Overrides:
spec in class OExpandingLoaf

usedDomain

public XnRegion usedDomain()
Overrides:
usedDomain in class OExpandingLoaf

bundleStepper

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

Overrides:
bundleStepper in class OExpandingLoaf

fill

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

Overrides:
fill in class OExpandingLoaf

informTo

public void informTo(OrglRoot orgl)
Overrides:
informTo in class OExpandingLoaf

isPartial

public boolean isPartial()
Partial crums are always partial.

Overrides:
isPartial in class OExpandingLoaf

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 OExpandingLoaf

actualSoftSplay

public byte actualSoftSplay(XnRegion region,
                            XnRegion limitRegion)
Don't expand me in place. Just move it closer to the top.


actualSplay

public byte actualSplay(XnRegion region,
                        XnRegion limitRegion)
Expand my partial tree in place. The area in the region must go
into the leftCrum of my substitute, or the splay algorithm will fail!!

Overrides:
actualSplay in class OExpandingLoaf

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

inform

public void inform(Position key,
                   BeRangeElement element,
                   TracePosition trace)
inform a piece of partiality


wait

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

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 OExpandingLoaf

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 OExpandingLoaf

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 OExpandingLoaf

triggerDetector

public void triggerDetector(FeFillRangeDetector detect)
do nothing

Overrides:
triggerDetector in class OExpandingLoaf

sendSelfTo

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

Overrides:
sendSelfTo in class OExpandingLoaf

make

public static Heaper make(XnRegion region,
                          HUpperCrum hcrum,
                          SensorCrum scrum)


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