org.neodatis.odb.impl.core.transaction
Class LazyServerCache

java.lang.Object
  extended by org.neodatis.odb.impl.core.transaction.Cache
      extended by org.neodatis.odb.impl.core.transaction.LazyCache
          extended by org.neodatis.odb.impl.core.transaction.LazyServerCache
All Implemented Interfaces:
ICache

public class LazyServerCache
extends LazyCache

Author:
osmadja

Field Summary
protected  java.util.Map<OID,NonNativeObjectInfo> oidsOfNNoi
          Object id of NonNativeObjectInfo
 
Fields inherited from class org.neodatis.odb.impl.core.transaction.Cache
insertingObjects, name, nbCallsToGetObjectInfoHeaderFromObject, nbCallsToGetObjectInfoHeaderFromOid, nbCallsToGetObjectWithOid, nbObjectPositionByIds, nbObjects, nbOids, nbOih, nbTransactionOids, objectInfoPointersCacheFromOid, objectPositionsByIds, objects, oids, readingObjectInfo, session, unconnectedZoneOids, useCache
 
Constructor Summary
LazyServerCache(ISession session)
           
 
Method Summary
 void addOid(OID oid, NonNativeObjectInfo nnoi)
           
 void clear(boolean setToNull)
           
 NonNativeObjectInfo getNnoi(OID oid)
           
 void startInsertingObject(java.lang.Object object, OID oid, NonNativeObjectInfo nnoi)
           
 
Methods inherited from class org.neodatis.odb.impl.core.transaction.LazyCache
addObject, addObjectInfo, checkHeaderPosition, getObjectInfoHeaderFromObject, getObjectInfoHeaderFromOid, getObjectWithOid, getOid, getQueue, init, manageFullCache
 
Methods inherited from class org.neodatis.odb.impl.core.transaction.Cache
addOIDToUnconnectedZone, clearInsertingObjects, clearOnCommit, endInsertingObject, endReadingObjectInfo, existObject, getNumberOfObjectHeader, getNumberOfObjects, getObjectInfoPointersCacheFromOid, getObjectPositionByOid, getObjects, getOids, getReadingObjectInfoFromOid, idOfInsertingObject, insertingLevelOf, isDeleted, isReadingObjectInfoWithOid, markIdAsDeleted, objectWithIdIsInCommitedZone, removeObject, removeObjectWithOid, savePositionOfObjectWithOid, setObjectInfoPointersCacheFromOid, setObjects, setOids, startInsertingObjectWithOid, startReadingObjectInfoWithOid, toCompleteString, toString, updateIdOfInsertingObject, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

oidsOfNNoi

protected java.util.Map<OID,NonNativeObjectInfo> oidsOfNNoi
Object id of NonNativeObjectInfo

Constructor Detail

LazyServerCache

public LazyServerCache(ISession session)
Method Detail

addOid

public void addOid(OID oid,
                   NonNativeObjectInfo nnoi)

getNnoi

public NonNativeObjectInfo getNnoi(OID oid)

startInsertingObject

public void startInsertingObject(java.lang.Object object,
                                 OID oid,
                                 NonNativeObjectInfo nnoi)

clear

public void clear(boolean setToNull)
Specified by:
clear in interface ICache
Overrides:
clear in class Cache