ozone core API

org.ozoneDB.core.storage.gammaStore
Class NodeIdLoc

java.lang.Object
  extended byorg.ozoneDB.core.storage.gammaStore.Loc
      extended byorg.ozoneDB.core.storage.gammaStore.NodeIdLoc
All Implemented Interfaces:
java.io.Serializable

public class NodeIdLoc
extends Loc

Version:
$Id: NodeIdLoc.java,v 1.2 2004/01/25 20:53:42 leomekenkamp Exp $
Author:
Leo Mekenkamp (mind the anti sp@m)
See Also:
Serialized Form

Field Summary
protected  long[] nodeIds
           
 
Fields inherited from class org.ozoneDB.core.storage.gammaStore.Loc
keys
 
Constructor Summary
NodeIdLoc(int capacity, float bufferFactor)
           
NodeIdLoc(int capacity, int slack)
           
 
Method Summary
 long getNodeId(int pos)
           
protected  void move(int from, int to)
          Extending classes _must_ implement their own move() and call this one as well.
 void putNodeId(int pos, long nodeId)
           
 java.lang.String toString()
           
 
Methods inherited from class org.ozoneDB.core.storage.gammaStore.Loc
getKey, getKeyPos, getKeyPosOrNearestGreater, getKeyPosOrNearestSmaller, getMaxKey, getMaxPos, getMinKey, getMinPos, isInUse, next, putKey, removeKey, removePos, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeIds

protected long[] nodeIds
Constructor Detail

NodeIdLoc

public NodeIdLoc(int capacity,
                 float bufferFactor)

NodeIdLoc

public NodeIdLoc(int capacity,
                 int slack)
Method Detail

putNodeId

public void putNodeId(int pos,
                      long nodeId)

move

protected void move(int from,
                    int to)
Description copied from class: Loc
Extending classes _must_ implement their own move() and call this one as well.

Overrides:
move in class Loc

getNodeId

public long getNodeId(int pos)

toString

public java.lang.String toString()
Overrides:
toString in class Loc

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.