ozone core API

org.ozoneDB.core.classicStore
Class DeathObject

java.lang.Object
  |
  +--org.ozoneDB.DxLib.DxObject
        |
        +--org.ozoneDB.core.classicStore.DeathObject
All Implemented Interfaces:
java.lang.Cloneable, DxCompatible, java.io.Serializable

public class DeathObject
extends DxObject

stellt einen eintrag in die objektliste des clusterspaces dar; obj ist die objekt id des ref. objektes; data der datenteil des objektes in byte form

See Also:
Serialized Form

Field Summary
static byte CHANGED
           
protected  byte[] data
           
static byte DELETED
           
static byte FREE
           
static byte FROZEN
           
 DeathObject next
           
protected  ObjectID oid
           
 DeathObject previous
          References for the double linked list
protected  long size
           
protected  byte state
           
protected  long stateSize
          will be set while read the object state chunk (see Cluster.readObjects() and Cluster.appendObject())
 
Fields inherited from class org.ozoneDB.DxLib.DxObject
 
Constructor Summary
DeathObject()
           
DeathObject(ObjectID _oid)
           
 
Method Summary
 ClusterID clusterID()
           
 ClassicObjectContainer container()
           
 byte[] data()
           
 org.ozoneDB.OzoneCompatible enlive()
           
 ObjectID objID()
           
 void setCluID(ClusterID _cid)
           
 void setData(byte[] _data)
           
 void setSize(long s)
           
 void setState(byte s)
           
 long size()
           
 byte state()
           
 
Methods inherited from class org.ozoneDB.DxLib.DxObject
clone, isLess
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
equals
 

Field Detail

FREE

public static final byte FREE
See Also:
Constant Field Values

DELETED

public static final byte DELETED
See Also:
Constant Field Values

FROZEN

public static final byte FROZEN
See Also:
Constant Field Values

CHANGED

public static final byte CHANGED
See Also:
Constant Field Values

oid

protected ObjectID oid

data

protected byte[] data

size

protected long size

stateSize

protected long stateSize
will be set while read the object state chunk (see Cluster.readObjects() and Cluster.appendObject())


state

protected byte state

previous

public DeathObject previous
References for the double linked list


next

public DeathObject next
Constructor Detail

DeathObject

public DeathObject()

DeathObject

public DeathObject(ObjectID _oid)
Method Detail

objID

public final ObjectID objID()

data

public final byte[] data()

setData

public final void setData(byte[] _data)

size

public final long size()

setSize

public final void setSize(long s)

state

public final byte state()

clusterID

public final ClusterID clusterID()

setCluID

public final void setCluID(ClusterID _cid)

container

public final ClassicObjectContainer container()

setState

public final void setState(byte s)

enlive

public org.ozoneDB.OzoneCompatible enlive()
                                   throws java.io.IOException
java.io.IOException

ozone core API

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