org.abora.gold.be.ents
Class OrglRoot

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.OrglRoot
Direct Known Subclasses:
ActualOrglRoot, EmptyOrglRoot

public class OrglRoot
extends OPart


Field Summary
protected  HBottomCrum 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
OrglRoot(Rcvr receiver)
           
OrglRoot(SensorCrum scrum)
           
 
Method Summary
 ScruTable asDataTable()
           
 ScruTable asTable()
           
 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)
          Return a stepper of bundles according to the order.
 void checkRecorders(BeEdition edition, PropFinder finder, SensorCrum scrum)
           
 void checkRecorders(PropFinder finder, SensorCrum scrum)
          check any recorders that might be triggered by a change in the stamp
 void checkTrailBlazer(TrailBlazer blazer)
          Make sure that everyone below here that might have a TrailBlazer, has the given one
 OrglRoot combine(OrglRoot orgl)
           
 int contentsHash()
          A hash of the contents of this flock
 CoordinateSpace coordinateSpace()
          the kind of domain elements allowed
 OrglRoot copy(XnRegion externalRegion)
           
 IntegerVar count()
           
 void delayedFindMatching(PropFinder finder, RecorderFossil recorder)
           
 void delayedFindMatching(PropFinder finder, RecorderFossil fossil, ResultRecorder recorder)
          This does the 'now' part of setting up a recorder, once the 'later' part has been set up.
It does a walk south on the O-tree, then walks back north on all the H-trees, filtered by
the Bert canopy.
 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)
           
 FeRangeElement fetch(Position key, BeEdition edition)
          get an individual element
 TrailBlazer fetchTrailBlazer()
          If there is a TrailBlazer somewhere below this Edition, return one of them
 ScruTable findMatching(PropFinder finder)
           
 BeRangeElement getBe(Position key)
          Get or Make the BeRangeElement at the location.
 HistoryCrum hCrum()
           
 TracePosition hCut()
          This is primarily for the example routines.
 void inform(Position key, HRoot value)
           
 void introduceEdition(BeEdition edition)
           
 void introduceStamp(BeEdition stamp)
           
 boolean isEmpty()
           
 XnRegion keysLabelled(BeLabel label)
          Just search for now.
static Heaper make(CoordinateSpace cs)
          create a new orgl root
static Heaper make(Heaper it)
          create a new orgl root
static Heaper make(XnRegion region)
           
static Heaper make(XnRegion keys, OrderSpec ordering, PtrArray values)
           
static OrglRoot makeData(PrimDataArray values, Arrangement arrangement)
          Make an Orgl from a bunch of Data.
static OrglRoot makeData(XnRegion keys, OrderSpec ordering, PrimDataArray values)
          Make an Orgl from a bunch of Data.
 Mapping mapSharedTo(TracePosition trace)
          return a mapping from my data to corresponding stuff in the given trace
 ID ownerAt(Position key)
          Return the owner for the given position in the receiver.
 void propChanged(PropChange change)
           
 AgendaItem propChanger(PropChange change)
          NOTE: The AgendaItem returned is not yet scheduled.
 XnRegion rangeOwners(XnRegion positions)
           
 void removeEdition(BeEdition stamp)
           
 void removeStamp(BeEdition stamp)
           
 void sendSelfTo(Xmtr xmtr)
          do nothing
 OrglRoot setAllOwners(ID owner)
          Return the portiong whose owner couldn't be changed.
 XnRegion sharedRegion(TracePosition trace)
          Return a region for all the stuff in this orgl that can backfollow to trace.
 XnRegion simpleDomain()
          Return a simple region that encloses the domain of the receiver.
 PrimSpec specAt(Position key)
          Return the owner for the given position in the receiver.
 void storeRecordingAgents(RecorderFossil recorder, Agenda agenda)
          Go ahead and actually store the recorder in the sensor canopy.
 OrglRoot 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.
 OrglRoot unTransformedBy(Dsp externalDsp)
          Return a copy with externalDsp removed from the receiver's dsp.
 boolean updateBCrumTo(BertCrum newBCrum)
          Ensure the my bertCrum is not be leafward of newBCrum.
 XnRegion usedDomain()
           
 void wait(XnSensor sensor)
           
 
Methods inherited from class org.abora.gold.be.ents.OPart
hinspect, inspect, 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, 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, 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

myHCrum

protected HBottomCrum myHCrum
Constructor Detail

OrglRoot

public OrglRoot(SensorCrum scrum)

OrglRoot

public OrglRoot(Rcvr receiver)
Method Detail

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 OPart

checkRecorders

public void checkRecorders(PropFinder finder,
                           SensorCrum scrum)
check any recorders that might be triggered by a change in the stamp


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 OPart

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 OPart

propChanger

public AgendaItem propChanger(PropChange change)
NOTE: The AgendaItem returned is not yet scheduled. Doing so is up to my caller.


triggerDetector

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


updateBCrumTo

public boolean updateBCrumTo(BertCrum newBCrum)
Ensure the my bertCrum is not be leafward of newBCrum.


coordinateSpace

public CoordinateSpace coordinateSpace()
the kind of domain elements allowed


count

public IntegerVar count()

domain

public XnRegion domain()

fetch

public FeRangeElement fetch(Position key,
                            BeEdition edition)
get an individual element


getBe

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


hCrum

public HistoryCrum hCrum()
Overrides:
hCrum in class OPart

hCut

public TracePosition hCut()
This is primarily for the example routines.


introduceEdition

public void introduceEdition(BeEdition edition)

isEmpty

public boolean isEmpty()

keysLabelled

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


mapSharedTo

public Mapping mapSharedTo(TracePosition trace)
return a mapping from my data to corresponding stuff in the given trace


ownerAt

public ID ownerAt(Position key)
Return the owner for the given position in the receiver.


rangeOwners

public XnRegion rangeOwners(XnRegion positions)

removeEdition

public void removeEdition(BeEdition stamp)

setAllOwners

public OrglRoot setAllOwners(ID owner)
Return the portiong whose owner couldn't be changed.


sharedRegion

public XnRegion sharedRegion(TracePosition trace)
Return a region for all the stuff in this orgl that can backfollow to trace.


simpleDomain

public XnRegion simpleDomain()
Return a simple region that encloses the domain of the receiver.


specAt

public PrimSpec specAt(Position key)
Return the owner for the given position in the receiver.


usedDomain

public XnRegion usedDomain()

bundleStepper

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


combine

public OrglRoot combine(OrglRoot orgl)

copy

public OrglRoot copy(XnRegion externalRegion)

delayedFindMatching

public void delayedFindMatching(PropFinder finder,
                                RecorderFossil fossil,
                                ResultRecorder recorder)
This does the 'now' part of setting up a recorder, once the 'later' part has been set up.
It does a walk south on the O-tree, then walks back north on all the H-trees, filtered by
the Bert canopy.


storeRecordingAgents

public void storeRecordingAgents(RecorderFossil recorder,
                                 Agenda agenda)
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.


transformedBy

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


unTransformedBy

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


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 OPart

contentsHash

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

Overrides:
contentsHash in class OPart

asDataTable

public ScruTable asDataTable()

asTable

public ScruTable asTable()

checkRecorders

public void checkRecorders(BeEdition edition,
                           PropFinder finder,
                           SensorCrum scrum)

delayedFindMatching

public void delayedFindMatching(PropFinder finder,
                                RecorderFossil recorder)

fetch

public FeRangeElement fetch(Position key)

findMatching

public ScruTable findMatching(PropFinder finder)

inform

public void inform(Position key,
                   HRoot value)

introduceStamp

public void introduceStamp(BeEdition stamp)

propChanged

public void propChanged(PropChange change)

removeStamp

public void removeStamp(BeEdition stamp)

wait

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

sendSelfTo

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

Overrides:
sendSelfTo in class OPart

make

public static Heaper make(CoordinateSpace cs)
create a new orgl root


make

public static Heaper make(XnRegion region)

make

public static Heaper make(XnRegion keys,
                          OrderSpec ordering,
                          PtrArray values)

makeData

public static OrglRoot makeData(PrimDataArray values,
                                Arrangement arrangement)
Make an Orgl from a bunch of Data. The data is
guaranteed to be of a reasonable size.


makeData

public static OrglRoot makeData(XnRegion keys,
                                OrderSpec ordering,
                                PrimDataArray values)
Make an Orgl from a bunch of Data. The data is
guaranteed to be of a reasonable size.


make

public static Heaper make(Heaper it)
create a new orgl root



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