org.ozoneDB.core.storage.gammaStore
Class NodeIdLoc
java.lang.Object
org.ozoneDB.core.storage.gammaStore.Loc
org.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 |
nodeIds
protected long[] nodeIds
NodeIdLoc
public NodeIdLoc(int capacity,
float bufferFactor)
NodeIdLoc
public NodeIdLoc(int capacity,
int slack)
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
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.