ozone core API

org.ozoneDB.core.storage.gammaStore
Class ContainerLocation

java.lang.Object
  extended byorg.ozoneDB.core.storage.gammaStore.ContainerLocation

public final class ContainerLocation
extends java.lang.Object

Holds information on where exactly object data has been (or can be) persisted. Objects are written to clusters, where the position has the offset of where within a cluster the serialized object data starts.

Version:
$Id: ContainerLocation.java,v 1.3 2004/03/21 21:05:51 leomekenkamp Exp $
Author:
Leo Mekenkamp (mind the anti sp@m)

Field Summary
private  int dataFileId
           
private  int position
           
 
Constructor Summary
ContainerLocation()
           
ContainerLocation(int dataFileId, int position)
           
 
Method Summary
 int getDataFileId()
           
 int getPosition()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dataFileId

private int dataFileId

position

private int position
Constructor Detail

ContainerLocation

public ContainerLocation()

ContainerLocation

public ContainerLocation(int dataFileId,
                         int position)
Method Detail

toString

public java.lang.String toString()

getDataFileId

public int getDataFileId()

getPosition

public int getPosition()

ozone core API

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