org.neodatis.odb.impl.core.transaction
Class ServerCache
java.lang.Object
org.neodatis.odb.impl.core.transaction.Cache
org.neodatis.odb.impl.core.transaction.ServerCache
- All Implemented Interfaces:
- ICache
public class ServerCache
- extends Cache
A specific cache for the server in Client/Server mode
- Author:
- osmadja
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 |
Methods inherited from class org.neodatis.odb.impl.core.transaction.Cache |
addObject, addObjectInfo, addOIDToUnconnectedZone, clearInsertingObjects, clearOnCommit, endInsertingObject, endReadingObjectInfo, existObject, getNumberOfObjectHeader, getNumberOfObjects, getObjectInfoHeaderFromObject, getObjectInfoHeaderFromOid, getObjectInfoPointersCacheFromOid, getObjectPositionByOid, getObjects, getObjectWithOid, getOid, getOids, getReadingObjectInfoFromOid, idOfInsertingObject, init, insertingLevelOf, isDeleted, isReadingObjectInfoWithOid, manageFullCache, markIdAsDeleted, objectWithIdIsInCommitedZone, removeObject, removeObjectWithOid, savePositionOfObjectWithOid, setObjectInfoPointersCacheFromOid, setObjects, setOids, startReadingObjectInfoWithOid, toCompleteString, toString, updateIdOfInsertingObject, usage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
oidsOfNNoi
protected java.util.Map<OID,NonNativeObjectInfo> oidsOfNNoi
- Object id of NonNativeObjectInfo
ServerCache
public ServerCache(ISession session)
addOid
public void addOid(OID oid,
NonNativeObjectInfo nnoi)
startInsertingObjectWithOid
public void startInsertingObjectWithOid(java.lang.Object object,
OID oid,
NonNativeObjectInfo nnoi)
- Specified by:
startInsertingObjectWithOid
in interface ICache
- Overrides:
startInsertingObjectWithOid
in class Cache
clear
public void clear(boolean setToNull)
- Specified by:
clear
in interface ICache
- Overrides:
clear
in class Cache
checkHeaderPosition
protected boolean checkHeaderPosition()
- Overrides:
checkHeaderPosition
in class Cache