|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
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
|
+--org.abora.gold.be.basic.BeEdition
| Field Summary | |
protected PrimSet |
myDetectors
|
protected OrglRoot |
myOrglRoot
|
protected BertProp |
myOwnProp
|
protected BertProp |
myProp
|
protected MuSet |
myWorks
|
| Fields inherited from class org.abora.gold.be.basic.BeRangeElement |
myFeRangeElements, myHCrum, myOwner, 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 | |
BeEdition(OrglRoot root)
|
|
BeEdition(Rcvr receiver)
|
|
| Method Summary | |
void |
addDetector(FeFillRangeDetector detect)
Add a detector which will be triggered with a FeEdition when a PlaceHolder becomes a non-PlaceHolder |
void |
addOParent(Loaf oparent)
add oparent to the set of upward pointers. |
boolean |
anyPasses(PropFinder finder)
|
XnRegion |
attachTrailBlazer(TrailBlazer blazer)
Attach the TrailBlazer to this Edition, and return the region of partiality it is attached to |
void |
checkRecorders(PropFinder finder,
SensorCrum scrum)
does nothing. |
BeEdition |
combine(BeEdition other)
An Edition with the contents of both Editions; where they share keys, they must have the same RangeElement. |
CoordinateSpace |
coordinateSpace()
The space from which the keys of this Edition are taken. |
BeEdition |
copy(XnRegion keys)
A new Edition with the domain restricted to the given set of keys. |
IntegerVar |
count()
The number of keys in this Edition. |
ImmuSet |
currentWorks()
The Works currently on this Edition |
MuSet |
detectors()
|
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()
All the keys in this Edition. |
void |
endorse(CrossRegion endorsements)
Adds to the endorsements on this Edition. |
CrossRegion |
endorsements()
All of the endorsements on this Edition. |
FeRangeElement |
fetch(Position key)
Create a front end representation for what is at the given key. |
BeRangeElement |
fetchOrMakeBeRangeElement(Position key)
An actual, non-virtual FE range element at that key. |
void |
fossilRelease(RecorderFossil oldGrabber)
|
FeRangeElement |
get(Position key)
The value at the given key, or blast if there is no such key (i.e. |
BeRangeElement |
getOrMakeBe(Position key)
An actual, non-virtual FE range element at that key. |
TrailBlazer |
getOrMakeTrailBlazer()
Get or make a TrailBlazer for recording results into this Edition. |
boolean |
includesKey(Position key)
Whether the given key is in the Edition. |
void |
introduceWork(BeWork work)
A Work has been newly revised to point at me. |
boolean |
isEmpty()
Whether there are any keys in this Edition. |
boolean |
isFinite()
Whether there is a finite number of keys in this Edition. |
boolean |
isPurgeable()
Return false only if the object cannot be flushed to disk. |
XnRegion |
keysLabelled(BeLabel label)
The keys in this Edition at which there are Editions with the given label. |
XnRegion |
keysOf(FeRangeElement value)
All of the keys in this Edition at which the given RangeElement can be found. |
static Heaper |
make(OrglRoot oroot)
|
FeRangeElement |
makeFe(BeLabel label)
Make a front end object (session level) for this backend object. |
Mapping |
mapSharedTo(BeEdition other)
A Mapping from each of the keys in this Edition to all of the keys in the other Edition which have the same RangeElement. |
BeEdition |
notSharedWith(BeEdition other,
int flags)
The subset of this Edition whose RangeElements are not in the other Edition. |
OrglRoot |
orglRoot()
|
ID |
ownerAt(Position key)
Return the owner for the given position in the receiver. |
BeEdition |
parcelAt(Position key)
|
BeEdition |
parcels()
|
void |
printOn(java.io.PrintWriter oo)
|
BertProp |
prop()
|
void |
propChange(PropChange change,
Prop nw)
|
void |
propChanged(PropChange change,
Prop old,
Prop nw)
|
void |
propChanged(PropChange change,
Prop old,
Prop nw,
PropFinder oldFinder)
update props |
IDRegion |
rangeOwners(XnRegion positions)
The owners of all the RangeElements in the given Region, or in the entire Edition if no Region is specified. |
BeEdition |
rangeTranscluders(XnRegion region,
Filter directFilter,
Filter indirectFilter,
int flags,
BeEdition otherTrail)
See FeEdition |
BeEdition |
rangeWorks(XnRegion region,
Filter filter,
int flags,
BeEdition otherTrail)
See FeEdition |
BeEdition |
rebind(Position key,
BeEdition edition)
Replace the Edition at the given key, leaving the Label the same. |
void |
removeDetector(FeFillRangeDetector detect)
Remove a previously added detector |
void |
removeLastDetector()
Notify the edition that there are no remaining detectors on it. |
void |
removeWork(BeWork work)
The Work is no longer onto this Edition. |
BeEdition |
reorganize(XnRegion oldRegion,
OrderSpec oldOrder,
XnRegion newRegion,
OrderSpec newOrder)
Rearrange the keys of this Edition to lie in the given region, with the given ordering. Equivalent to server->makeEdition (this->asArray (oldRegion, oldOrder), newRegion, newOrder, NULL), except that it doesn't require everything to be in the same zone (and is of course more efficient). |
BeEdition |
replace(BeEdition other)
An Edition with the contents of both Editions; where they share keys, use the contents of the other Edition. |
void |
restartE(Rcvr rcvr)
|
void |
retract(CrossRegion endorsements)
Removes endorsements from this Edition. |
Stepper |
retrieve(XnRegion region,
OrderSpec order,
int flags)
Essential. |
void |
ringDetectors(FeEdition newIdentities)
Ring all my detectors with the given Edition as an argument |
void |
scheduleDelayedBackfollow(RecorderFossil fossil)
|
void |
scheduleDelayedBackfollow(RecorderFossil fossil,
XnRegion region)
Walk down orgl's O-tree (onto range elements of interest) planting pointers to a Fossil of BackfollowRecorder in the sensor canopy and collecting agenda items to propagate their endorsement and permission filtering info rootward in the sensor canopy. Create and schedule a structure of AgendaItems to: - First: Do the filtering info propagation. - Second: Find and record any currently matching stamps. This is done in this order so collection of the future part of recorder information is completed before the present part is extracted, keeping significant information from falling through the crack. |
void |
scheduleImmediateBackfollow(RecorderFossil fossil)
|
void |
scheduleImmediateBackfollow(RecorderFossil fossil,
XnRegion region)
Find and record any currently matching Editions. |
void |
sendSelfTo(Xmtr xmtr)
do nothing |
BeEdition |
setAllOwners(ID newOwner)
|
BeEdition |
setAllOwners(ID newOwner,
XnRegion region)
|
BeEdition |
setRangeOwners(ID newOwner,
XnRegion region)
Changes the owner of all RangeElements; requires the authority of the current owner. Returns the subset of this Edition whose owners did not get changed because of lack of authority. |
XnRegion |
sharedRegion(BeEdition other)
|
XnRegion |
sharedRegion(BeEdition other,
int flags)
The subset of the keys of this Edition which have RangeElements that are in the other Edition. |
BeEdition |
sharedWith(BeEdition other,
int flags)
The subset of this Edition whose RangeElements are in the other Edition. |
FeRangeElement |
theOne()
If this Edition has a single key, then the value at that key; if not, blasts. |
CrossRegion |
totalEndorsements()
All of the endorsements on this Edition and all Works directly on it |
BeEdition |
transformedBy(Mapping mapping)
An Edition with the keys transformed according to the given Mapping. |
Pair |
tryAllBecome(BeEdition newIdentities)
Change the identities of the RangeElements of this Edition to those at the same key in the other Edition. |
void |
unendorse(CrossRegion endorsements)
|
boolean |
updateBCrumTo(BertCrum newBCrum)
My bertCrum must not be leafward of newBCrum. Thus it must be LE to newCrum. |
CrossRegion |
visibleEndorsements()
All of the endorsements on this Edition and all Works which the CurrentKeyMaster can read. |
void |
wait(XnSensor sensor)
|
BeEdition |
with(Position key,
BeCarrier value)
A new Edition with a RangeElement at a specified key. |
BeEdition |
withAll(XnRegion keys,
BeCarrier value)
A new Edition with a RangeElement at a specified set of keys. |
BeEdition |
without(Position key)
A new Edition without any RangeElement at a specified key. |
BeEdition |
withoutAll(XnRegion keys)
A new Edition without any RangeElements at the specified keys. |
BeEdition |
works(IDRegion permissions,
Filter endorsementsFilter,
int flags)
See comment in FeRangeElement |
| Methods inherited from class org.abora.gold.be.basic.BeRangeElement |
addFeRangeElement, becomeOther, bertCrum, checkRecorders, contentsHash, delayedStoreBackfollow, delayedStoreBackfollow, feRangeElements, hCrum, inspect, inTrace, makeIdentical, mappingTo, owner, removeFeRangeElement, removeOParent, restartRE, sensorCrum, setOwner, storeBackfollow |
| 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.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 |
protected OrglRoot myOrglRoot
protected MuSet myWorks
protected BertProp myOwnProp
protected BertProp myProp
protected PrimSet myDetectors
| Constructor Detail |
public BeEdition(OrglRoot root)
public BeEdition(Rcvr receiver)
| Method Detail |
public BeEdition combine(BeEdition other)
public BeEdition copy(XnRegion keys)
public BeEdition replace(BeEdition other)
public BeEdition transformedBy(Mapping mapping)
public BeEdition with(Position key,
BeCarrier value)
public BeEdition withAll(XnRegion keys,
BeCarrier value)
public BeEdition without(Position key)
public BeEdition withoutAll(XnRegion keys)
public CoordinateSpace coordinateSpace()
public IntegerVar count()
public XnRegion domain()
public FeRangeElement fetch(Position key)
public FeRangeElement get(Position key)
public boolean includesKey(Position key)
public boolean isEmpty()
public boolean isFinite()
public boolean isPurgeable()
Abraham
isPurgeable in class BeRangeElementpublic FeRangeElement makeFe(BeLabel label)
BeRangeElement
makeFe in class BeRangeElementpublic IDRegion rangeOwners(XnRegion positions)
public Stepper retrieve(XnRegion region,
OrderSpec order,
int flags)
public FeRangeElement theOne()
public CrossRegion visibleEndorsements()
public void endorse(CrossRegion endorsements)
public CrossRegion endorsements()
public BertProp prop()
public void propChange(PropChange change,
Prop nw)
public void propChanged(PropChange change,
Prop old,
Prop nw,
PropFinder oldFinder)
public void retract(CrossRegion endorsements)
public CrossRegion totalEndorsements()
public void addDetector(FeFillRangeDetector detect)
public ID ownerAt(Position key)
public void removeDetector(FeFillRangeDetector detect)
public void removeLastDetector()
public void ringDetectors(FeEdition newIdentities)
public BeEdition setRangeOwners(ID newOwner,
XnRegion region)
public Pair tryAllBecome(BeEdition newIdentities)
public XnRegion keysLabelled(BeLabel label)
public BeEdition rebind(Position key,
BeEdition edition)
public void restartE(Rcvr rcvr)
public OrglRoot orglRoot()
public void addOParent(Loaf oparent)
addOParent in class BeRangeElementpublic boolean anyPasses(PropFinder finder)
anyPasses in class BeRangeElement
public void checkRecorders(PropFinder finder,
SensorCrum scrum)
BeRangeElement
checkRecorders in class BeRangeElementpublic ImmuSet currentWorks()
public BeRangeElement getOrMakeBe(Position key)
public void introduceWork(BeWork work)
public void removeWork(BeWork work)
public boolean updateBCrumTo(BertCrum newBCrum)
updateBCrumTo in class BeRangeElementpublic XnRegion keysOf(FeRangeElement value)
public Mapping mapSharedTo(BeEdition other)
public BeEdition notSharedWith(BeEdition other,
int flags)
public XnRegion sharedRegion(BeEdition other,
int flags)
public BeEdition sharedWith(BeEdition other,
int flags)
public BeEdition works(IDRegion permissions,
Filter endorsementsFilter,
int flags)
BeRangeElement
works in class BeRangeElementpublic void dismantle()
Abraham
dismantle in class BeRangeElementpublic void printOn(java.io.PrintWriter oo)
printOn in class Heaperpublic XnRegion attachTrailBlazer(TrailBlazer blazer)
public void fossilRelease(RecorderFossil oldGrabber)
public TrailBlazer getOrMakeTrailBlazer()
public BeEdition rangeTranscluders(XnRegion region,
Filter directFilter,
Filter indirectFilter,
int flags,
BeEdition otherTrail)
public BeEdition rangeWorks(XnRegion region,
Filter filter,
int flags,
BeEdition otherTrail)
public void scheduleDelayedBackfollow(RecorderFossil fossil,
XnRegion region)
public void scheduleImmediateBackfollow(RecorderFossil fossil,
XnRegion region)
public void propChanged(PropChange change,
Prop old,
Prop nw)
public XnRegion sharedRegion(BeEdition other)
public MuSet detectors()
public BeRangeElement fetchOrMakeBeRangeElement(Position key)
public BeEdition parcelAt(Position key)
public BeEdition parcels()
public BeEdition reorganize(XnRegion oldRegion,
OrderSpec oldOrder,
XnRegion newRegion,
OrderSpec newOrder)
public void scheduleDelayedBackfollow(RecorderFossil fossil)
public void scheduleImmediateBackfollow(RecorderFossil fossil)
public BeEdition setAllOwners(ID newOwner)
public BeEdition setAllOwners(ID newOwner,
XnRegion region)
public void unendorse(CrossRegion endorsements)
public void wait(XnSensor sensor)
public void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class BeRangeElementpublic static Heaper make(OrglRoot oroot)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||