ozone core API

org.ozoneDB.core.storage
Class StorageObjectContainer

java.lang.Object
  extended byorg.ozoneDB.core.AbstractObjectContainer
      extended byorg.ozoneDB.core.storage.StorageObjectContainer
All Implemented Interfaces:
java.io.Externalizable, Lockable, ObjectContainer, java.io.Serializable
Direct Known Subclasses:
WizardObjectContainer

public abstract class StorageObjectContainer
extends AbstractObjectContainer
implements java.io.Externalizable

Author:
Per Nyfelt
See Also:
Serialized Form

Field Summary
protected  Cluster cluster
          the parent cluster that holds us
 
Fields inherited from class org.ozoneDB.core.AbstractObjectContainer
shouldCallOnActivate, shouldCallOnPassivate, state
 
Fields inherited from interface org.ozoneDB.core.ObjectContainer
IMPLNAME_POSTFIX, PROXYNAME_POSTFIX, STATE_CLEAN, STATE_CREATED, STATE_DELETED, STATE_MODIFIED, STATE_READ
 
Constructor Summary
StorageObjectContainer()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Cluster getCluster()
           
abstract  boolean isDeleted()
           
abstract  boolean isInvoked()
           
 void setCluster(Cluster cluster)
           
 void updateLockLevel(Transaction ta)
           
 
Methods inherited from class org.ozoneDB.core.AbstractObjectContainer
clearState, constructorFor, createTarget, database, flushMethodCache, getCurrentDatabase, getCurrrentTransaction, getEnv, invokeOnActivate, invokeOnPassivate, invokeTarget, invokeTarget, methodFor, ozoneProxy, raiseState, requireWriteLocking, setShouldCallOnActivate, setShouldCallOnPassivate, shouldOnActivateBeCalled, shouldOnPassivateBeCalled, state, targetClone
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 
Methods inherited from interface org.ozoneDB.core.ObjectContainer
deleteTarget, ensureGarbageCollectionLevel, getGarbageCollectionLevel, id, isPinned, lock, modTime, name, nameTarget, permissions, pin, setName, setTarget, target, targetClass, touch, unpin
 
Methods inherited from interface org.ozoneDB.core.dr.Lockable
allLockers
 

Field Detail

cluster

protected Cluster cluster
the parent cluster that holds us

Constructor Detail

StorageObjectContainer

public StorageObjectContainer()
Method Detail

setCluster

public void setCluster(Cluster cluster)

getCluster

public Cluster getCluster()

isInvoked

public abstract boolean isInvoked()

isDeleted

public abstract boolean isDeleted()

updateLockLevel

public void updateLockLevel(Transaction ta)
                     throws java.lang.Exception
Throws:
java.lang.Exception

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface ObjectContainer

ozone core API

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