org.abora.gold.collection.grand
Class GrandNode

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.snarf.Abraham
                    |
                    +--org.abora.gold.collection.grand.GrandNode

public class GrandNode
extends Abraham

oldOverflowRoot holds onto the overflow tree that was in place when a node doubling
starts.
It allows an object stored to be found at any time during the doubling.


Field Summary
protected  int numPrimaries
           
protected  int numReinserters
           
protected  GrandOverflow oldOverflowRoot
           
protected static int OverflowPageSize
           
protected  GrandOverflow overflowRoot
           
protected  PtrArray primaryPages
           
 
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
GrandNode()
           
GrandNode(Rcvr receiver)
           
 
Method Summary
 void addReinserter()
           
 int contentsHash()
          A hash of the contents of this flock
 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?
 void doubleNode()
           
 IntegerVar doubleNodeConsistency()
           
 Heaper fetch(Heaper toMatch, int aHash)
           
 GrandOverflow fetchOldOverflow()
           
 GrandOverflow fetchOverflow()
           
 GrandOverflow getOverflow()
           
 void inspect()
           
static void inspectPieces()
           
 boolean isEmpty()
           
static void linkTimeNonInherited()
           
 double loadFactor()
           
static Heaper make()
           
 GrandDataPage pageAt(IntegerVar idx)
           
 IntegerVar pageCount()
           
static int primaryPageSize()
           
 void printOn(java.io.PrintWriter aStream)
           
 void removeReinserter()
           
 void sendSelfTo(Xmtr xmtr)
          do nothing
 void store(GrandEntry newEntry)
           
 void wipe(Heaper toMatch, int aHash)
           
 
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, 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, 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, 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

primaryPages

protected PtrArray primaryPages

numPrimaries

protected int numPrimaries

overflowRoot

protected GrandOverflow overflowRoot

oldOverflowRoot

protected GrandOverflow oldOverflowRoot

numReinserters

protected int numReinserters

OverflowPageSize

protected static int OverflowPageSize
Constructor Detail

GrandNode

public GrandNode()

GrandNode

public GrandNode(Rcvr receiver)
Method Detail

fetch

public Heaper fetch(Heaper toMatch,
                    int aHash)

store

public void store(GrandEntry newEntry)

wipe

public void wipe(Heaper toMatch,
                 int aHash)

printOn

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

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

addReinserter

public void addReinserter()

doubleNode

public void doubleNode()

doubleNodeConsistency

public IntegerVar doubleNodeConsistency()

removeReinserter

public void removeReinserter()

pageAt

public GrandDataPage pageAt(IntegerVar idx)

pageCount

public IntegerVar pageCount()

contentsHash

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

Overrides:
contentsHash in class Abraham

isEmpty

public boolean isEmpty()

inspect

public void inspect()
Overrides:
inspect in class AboraHeaper

inspectPieces

public static void inspectPieces()

fetchOldOverflow

public GrandOverflow fetchOldOverflow()

fetchOverflow

public GrandOverflow fetchOverflow()

getOverflow

public GrandOverflow getOverflow()

loadFactor

public double loadFactor()

sendSelfTo

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

Overrides:
sendSelfTo in class Abraham

linkTimeNonInherited

public static void linkTimeNonInherited()

make

public static Heaper make()

primaryPageSize

public static int primaryPageSize()


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