org.abora.gold.be.ents
Class OVirtualLoaf

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.OVirtualLoaf

public class OVirtualLoaf
extends OExpandingLoaf


Field Summary
protected  SharedData myData
           
protected  ID myOwner
           
 
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
OVirtualLoaf(Rcvr receiver)
           
OVirtualLoaf(XnRegion region, SharedData data)
           
OVirtualLoaf(XnRegion region, SharedData data, HUpperCrum hcrum, SensorCrum scrum)
           
 
Method Summary
 byte actualSoftSplay(XnRegion region, XnRegion limitRegion)
          Don't expand my virtual tree 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)
          it's OK
 int contentsHash()
          A hash of the contents of this flock
 FeRangeElement fetch(Position key, BeEdition edition, Position globalKey)
          Make a virtual DataHolder.
 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)
          Fill an array with my contents
 BeRangeElement getBe(Position key)
          Get or make the BeRangeElement at the location.
 void informTo(OrglRoot orgl)
           
 ID owner()
          Return the owner of the atoms represented by the receiver.
 void printOn(java.io.PrintWriter aStream)
           
 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.
 void showOn(java.lang.Object oo)
           
 PrimSpec spec()
          Return the primSpec for my data.
 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.OExpandingLoaf
checkChildRecorders, combine, compare, count, crums, delayedStoreMatching, displayString, domain, fetchBottomAt, inspect, isPartial, keysLabelled, rangeOwners, sharedRegion, splay, storeRecordingAgents
 
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
 
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

myData

protected SharedData myData
Constructor Detail

OVirtualLoaf

public OVirtualLoaf(XnRegion region,
                    SharedData data)

OVirtualLoaf

public OVirtualLoaf(XnRegion region,
                    SharedData data,
                    HUpperCrum hcrum,
                    SensorCrum scrum)

OVirtualLoaf

public OVirtualLoaf(Rcvr receiver)
Method Detail

fetch

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

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 for my 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)
Description copied from class: OExpandingLoaf
Fill an array with my contents

Overrides:
fill in class OExpandingLoaf

informTo

public void informTo(OrglRoot orgl)
Overrides:
informTo 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

printOn

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

actualSoftSplay

public byte actualSoftSplay(XnRegion region,
                            XnRegion limitRegion)
Don't expand my virtual tree 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

contentsHash

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

Overrides:
contentsHash in class OExpandingLoaf

showOn

public void showOn(java.lang.Object oo)
Overrides:
showOn in class OPart

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)
it's OK

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)
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 OExpandingLoaf

sendSelfTo

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

Overrides:
sendSelfTo in class OExpandingLoaf


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