Index - All Packages - All Categories - All Classes

Class Abraham


Package: Udanax-Gold
All Superclasses: Object Heaper
Immediate Subclasses: AgendaItem BeGrandMap BeRangeElement BranchDescription CanopyCrum Counter DagWood DoublingFlock Ent GrandDataPage GrandEntry GrandNode GrandOverflow MultiCounter OPart PairFlock Pumpkin RecorderFossil SharedData ShepherdLocked TrailBlazer Turtle
Protocols: Object
Categories: Xanadu-Snarf

Class Methods

cleanupGarbage


dismantleStatistics


fetchShepherd: token


initTimeNonInherited



Overridden by: CanopyCrum class

isConstructed: obj


isDestructed: obj


linkTimeNonInherited



Overridden by: CanopyCrum class GrandNode class GrandOverflow class Pumpkin class

returnToken: token


staticTimeNonInherited



Overridden by: BeGrandMap class BeClub class BertCrum class SensorCrum class Ent class

Instance Methods

actualHashForEqual



Overridden by: DoublingFlock PairFlock Pumpkin TrailBlazer

becomeStub

Replace the shepherd in memory with a type compatible stub
instance that shares the same hash and flockInfo.

Overridden by: Pumpkin

contentsHash

A hash of the contents of this flock

Overridden by: BeGrandMap BeRangeElement BranchDescription DagBranch TreeBranch CanopyCrum BatchCounter SingleCounter DagWood DoublingFlock Ent GrandDataPage GrandEntry GrandTableEntry GrandNode GrandOverflow MultiCounter OPart Loaf DspLoaf SplitLoaf OExpandingLoaf OVirtualLoaf RegionLoaf OrglRoot ActualOrglRoot EmptyOrglRoot PairFlock SharedData SimpleTurtle

create

New Shepherds must be stored to disk.

Overrides: Heaper
Overridden by: AgendaItem Agenda BeRangeElement BeLabel BePlaceHolder BertCrum SensorCrum Counter SingleCounter DagWood Ent GrandNode MultiCounter ShepherdLocked TrailBlazer Turtle

create: hash

This is for shepherds that are becoming from another shepherd.

Overridden by: AgendaItem GrandNodeDoubler PropChanger ActualPropChanger HeightChanger UpdateTransitiveMemberIDs BeGrandMap BeRangeElement BeDataHolder BeEdition BeIDHolder BePlaceHolder BeClub BranchDescription RootBranch CanopyCrum SensorCrum Counter SingleCounter DoublingFlock MultiCounter OPart OExpandingLoaf OPartialLoaf OrglRoot EmptyOrglRoot Pumpkin Turtle MockTurtle

create: hash with: info

This is for ShepherdStubs that use the hash and forgetFlag from the object for which they are stubbing.

Overridden by: GrandNodeReinserter NorthRecorderChecker PropChanger RecorderHoister RecorderTrigger Sequencer UpdateTransitiveSuperClubIDs BeWork TreeBranch BertCrum SensorCrum BatchCounter DoublingFlock GrandEntry GrandSetEntry GrandOverflow MultiCounter OPart Loaf InnerLoaf DspLoaf OVirtualLoaf ActualOrglRoot PairFlock RecorderFossil SharedData

createRcvr: receiver



Overridden by: AgendaItem Agenda GrandNodeDoubler GrandNodeReinserter Matcher NorthRecorderChecker PropChanger ActualPropChanger HeightChanger RecorderHoister RecorderTrigger Sequencer SouthRecorderChecker UpdateTransitiveMemberIDs UpdateTransitiveSuperClubIDs BeGrandMap BeRangeElement BeDataHolder BeEdition BeIDHolder BeLabel BePlaceHolder BeWork BeClub BranchDescription DagBranch RootBranch TreeBranch CanopyCrum BertCrum SensorCrum Counter BatchCounter SingleCounter DagWood DoublingFlock Ent GrandDataPage GrandEntry GrandSetEntry GrandTableEntry GrandNode GrandOverflow MultiCounter OPart Loaf InnerLoaf DspLoaf SplitLoaf OExpandingLoaf OPartialLoaf OVirtualLoaf RegionLoaf OrglRoot ActualOrglRoot EmptyOrglRoot PairFlock Pumpkin RecorderFossil EditionRecorderFossil DirectEditionRecorderFossil IndirectEditionRecorderFossil WorkRecorderFossil DirectWorkRecorderFossil IndirectWorkRecorderFossil SharedData ShepherdLocked TrailBlazer Turtle MockTurtle SimpleTurtle

createShepFlag: ignored with: hash with: info

This is the root of the automatically generated constructors for creating Stubs.

destroy

Tell the packer I want to go away. It will mark me
as forgotten and actually dismantle me when it next
exits a consistent block. This avoids Jackpotting
when destroying a tree of objects.

Overrides: Heaper

destruct

Called when an object is leaving RAM. Additional behavior for subclasses of Abraham:
Tell the snarfPacker that I am leaving RAM and should be removed from its tables.

Overrides: Heaper

diskUpdate

The receiver has changed and so must eventually be rewritten to disk.

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?

Overridden by: AgendaItem Agenda Matcher PropChanger RecorderTrigger Sequencer SouthRecorderChecker BeRangeElement BeEdition BeIDHolder CanopyCrum GrandDataPage GrandNode GrandOverflow OPart Loaf DspLoaf SplitLoaf OPartialLoaf RegionLoaf OrglRoot ActualOrglRoot RecorderFossil

fetchInfo

Return the object that describes the state of this flock wrt disk.

flockInfo: info

Set the object that knows where this flock is on disk. Change it when the object moves.

forget

Record on disk that there are no more persistent pointers to the receiver. When the in core pointers go away, the receiver can be dismantled from disk. That will happen eventually.

getInfo

Return the object that describes the state of this flock wrt disk.

getShepherdStubCategory

Return the category of stubs used for the receiver. Shepherd Patriarch classes reimplement this to use more specific Stub types.

isEqual: other



Overridden by: DoublingFlock PairFlock Pumpkin TrailBlazer

isKindOf: cat

Optimized for Abraham because xcvrs use it so much.

Overrides: Object

isPurgeable

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.

Overridden by: BeGrandMap BeRangeElement BeEdition BePlaceHolder BeWork BeClub RecorderFossil

isShepherd

This should be replaced with an isKindOf: that first checks to see
if you're asking about Abraham, and then otherwise possible faults.

isStub

Distinguish between stubs and shepherds.

isUnlocked

All manually generated subclasses are locked. Automatically
defined unlocked classes will reimplement this.

newShepherd

The receiver has just been created. Put it on disk.

Overridden by: AgendaItem

remember

Record that there are now persistent pointers to the receiver.

restartAbraham


restartAbraham: trans


sendSelfTo: xmtr



Overridden by: AgendaItem Agenda GrandNodeDoubler GrandNodeReinserter Matcher NorthRecorderChecker PropChanger ActualPropChanger HeightChanger RecorderHoister RecorderTrigger Sequencer SouthRecorderChecker UpdateTransitiveMemberIDs UpdateTransitiveSuperClubIDs BeGrandMap BeRangeElement BeDataHolder BeEdition BeIDHolder BeLabel BePlaceHolder BeWork BeClub BranchDescription DagBranch RootBranch TreeBranch CanopyCrum BertCrum SensorCrum Counter BatchCounter SingleCounter DagWood DoublingFlock Ent GrandDataPage GrandEntry GrandSetEntry GrandTableEntry GrandNode GrandOverflow MultiCounter OPart Loaf InnerLoaf DspLoaf SplitLoaf OExpandingLoaf OPartialLoaf OVirtualLoaf RegionLoaf OrglRoot ActualOrglRoot EmptyOrglRoot PairFlock Pumpkin RecorderFossil EditionRecorderFossil DirectEditionRecorderFossil IndirectEditionRecorderFossil WorkRecorderFossil DirectWorkRecorderFossil IndirectWorkRecorderFossil SharedData ShepherdLocked TrailBlazer Turtle MockTurtle SimpleTurtle

token

Return the object that describes the state of this flock wrt disk.


Index - All Packages - All Categories - All Classes