org.abora.gold.be.basic
Class BeRangeElement

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.snarf.Abraham
                    |
                    +--org.abora.gold.be.basic.BeRangeElement
Direct Known Subclasses:
BeDataHolder, BeEdition, BeIDHolder, BeLabel, BePlaceHolder, BeWork

public class BeRangeElement
extends Abraham

This is the actual representation on disk; the Fe versions of these classes hide the
actual representation.ó


Field Summary
protected  PrimSet myFeRangeElements
           
protected  HUpperCrum myHCrum
           
protected  ID myOwner
           
protected  SensorCrum 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
BeRangeElement()
           
BeRangeElement(Rcvr receiver)
           
BeRangeElement(SensorCrum sensorCrum)
           
 
Method Summary
 void addFeRangeElement(FeRangeElement element)
          Add a new session level pointer
 void addOParent(Loaf oparent)
          add oparent to the set of upward pointers.
 boolean anyPasses(PropFinder finder)
           
 boolean becomeOther(BeRangeElement other)
           
 BertCrum bertCrum()
           
 void checkRecorders(BeEdition edition, PropFinder finder, SensorCrum scrum)
           
 void checkRecorders(PropFinder finder, SensorCrum scrum)
          does nothing.
 int contentsHash()
          A hash of the contents of this flock
 void delayedStoreBackfollow(PropFinder finder, RecorderFossil recorder, HashSetCache hCrumCache)
           
 void delayedStoreBackfollow(PropFinder finder, RecorderFossil fossil, ResultRecorder recorder, HashSetCache hCrumCache)
           
 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?
 PrimSet feRangeElements()
           
 HistoryCrum hCrum()
           
 void inspect()
          Sensor leftShiftDown
 boolean inTrace(TracePosition trace)
          Return true if the receiver can backfollow to trace.
 boolean isPurgeable()
          Return false only if the object cannot be flushed to disk.
 FeRangeElement makeFe(BeLabel label)
          Make a front end object (session level) for this backend object.
 boolean makeIdentical(BeRangeElement other)
          Change the identity of this object to that of the other.
Only placeHolders implement it at the moment, so the
default is to reject the operation (return false).
 Mapping mappingTo(TracePosition trace, Mapping mapping)
          return a mapping from my data to corresponding stuff in the given trace
 ID owner()
          The Club who has ownership
 void removeFeRangeElement(FeRangeElement element)
          Remove a session level pointer
 void removeOParent(OPart oparent)
          remove oparent from the set of upward pointers.
 void restartRE(Rcvr rcvr)
           
 void sendSelfTo(Xmtr xmtr)
          do nothing
 SensorCrum sensorCrum()
           
 void setOwner(ID club)
          Change the Club who has ownership
 void storeBackfollow(PropFinder finder, MuTable table, HashSetCache hCrumCache)
           
 boolean updateBCrumTo(BertCrum newBCrum)
          Ensure the my bertCrum is not be leafward of newBCrum.
 BeEdition works(IDRegion permissions, Filter endorsementsFilter, int flags)
          See comment in FeRangeElement
 
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, 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 HUpperCrum myHCrum

mySensorCrum

protected SensorCrum mySensorCrum

myOwner

protected ID myOwner

myFeRangeElements

protected PrimSet myFeRangeElements
Constructor Detail

BeRangeElement

public BeRangeElement()

BeRangeElement

public BeRangeElement(SensorCrum sensorCrum)

BeRangeElement

public BeRangeElement(Rcvr receiver)
Method Detail

addFeRangeElement

public void addFeRangeElement(FeRangeElement element)
Add a new session level pointer


isPurgeable

public boolean isPurgeable()
Description copied from class: Abraham
Return false only if the object cannot be flushed to disk. This will probably
only be false for Stamps and the like that contain session level pointers.

Overrides:
isPurgeable in class Abraham

makeFe

public FeRangeElement makeFe(BeLabel label)
Make a front end object (session level) for this backend object. If the receiver is an
Edition, there had better be a label.


makeIdentical

public boolean makeIdentical(BeRangeElement other)
Change the identity of this object to that of the other.
Only placeHolders implement it at the moment, so the
default is to reject the operation (return false).


owner

public ID owner()
The Club who has ownership


removeFeRangeElement

public void removeFeRangeElement(FeRangeElement element)
Remove a session level pointer


setOwner

public void setOwner(ID club)
Change the Club who has ownership


addOParent

public void addOParent(Loaf oparent)
add oparent to the set of upward pointers. Editions may
also have to propagate BertCrum change downward.


anyPasses

public boolean anyPasses(PropFinder finder)

bertCrum

public BertCrum bertCrum()

checkRecorders

public void checkRecorders(PropFinder finder,
                           SensorCrum scrum)
does nothing. Overrides do something.


contentsHash

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

Overrides:
contentsHash in class Abraham

delayedStoreBackfollow

public void delayedStoreBackfollow(PropFinder finder,
                                   RecorderFossil fossil,
                                   ResultRecorder recorder,
                                   HashSetCache hCrumCache)

feRangeElements

public PrimSet feRangeElements()

hCrum

public HistoryCrum hCrum()

inTrace

public boolean inTrace(TracePosition trace)
Return true if the receiver can backfollow to trace.


mappingTo

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


removeOParent

public void removeOParent(OPart oparent)
remove oparent from the set of upward pointers.


sensorCrum

public SensorCrum sensorCrum()

updateBCrumTo

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


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 Abraham

restartRE

public void restartRE(Rcvr rcvr)

inspect

public void inspect()
Sensor leftShiftDown

Overrides:
inspect in class AboraHeaper

works

public BeEdition works(IDRegion permissions,
                       Filter endorsementsFilter,
                       int flags)
See comment in FeRangeElement


becomeOther

public boolean becomeOther(BeRangeElement other)

checkRecorders

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

delayedStoreBackfollow

public void delayedStoreBackfollow(PropFinder finder,
                                   RecorderFossil recorder,
                                   HashSetCache hCrumCache)

storeBackfollow

public void storeBackfollow(PropFinder finder,
                            MuTable table,
                            HashSetCache hCrumCache)

sendSelfTo

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

Overrides:
sendSelfTo in class Abraham


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