public abstract class AbstractObjectIOManagerKeptInMemory extends Object implements IObjectIOManagerForObjectIO, IObjectIOManagerForSave, IDeepCopyServiceDelegate, IObjectIoManagerForGarbage
Modifier and Type | Field and Description |
---|---|
protected ClassInfoFactory |
classInfoFactory |
Constructor and Description |
---|
AbstractObjectIOManagerKeptInMemory(ClassInfoFactory classInfoFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addObject(String key,
Object object) |
protected abstract ObjectAndPersistInfo |
createSubstituteObjectPersistInfoOfObject(Object substituteObject,
ClassInfo substituteClassInfo,
ObjectAndPersistInfo substitutedObjectAndPersistInfo) |
protected KeptInMemoryObjectManager |
getKeptInMemorySubstituteObjectManager() |
boolean |
isKeptInMemory(Object object) |
protected Object |
keptInMemoryoriginalObject(Object substitute) |
protected ObjectAndPersistInfo |
keptInMemorysubstituteObject(ObjectAndPersistInfo objectAndPersistInfo) |
String |
keyOfObject(Object object) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createObjectReadingInStoreOrGetExisting, deepCopy, getBodyDataFromRecord, getCurrentDataModelIdentifier, getObjectIOInputStream, getObjectIOOutputStream, getOrCreateDataRecordIdentifierAssociatedToObject, getZipCompressionLevel
createObjectPersistInfoOfObject, createObjectPersistInfoOfObject, dataRecordIdentifierAssociatedToObjectSetted, getClassInfoFactory, getCurrentFileAccessSessionIdentifier, getObjectAndPersistInfoOfObject, getOrCreateObjectPersistInfoOfObject, getOrCreateObjectPersistInfoOfObject, getOrCreateObjectPersistInfoOfObject, getProxyManager2, getStoreMutex, isAutoSaveEnabled, isExclusiveAccessSession, isMaintainInMemoryEnabled, isRunAutosaveEnableAndDisable, newObjectLoaded, objectIsAccessed, setProxyObjectState, setRunAutosaveEnable, unsetProxyObjectState
isValueChanged, mostAccessedObject, objectHasPersistenceState, prepareWrite, willNotBeWrote, write
getClassInfoFactory, getProxyManager2, newInstance, newInstance, newInstanceNoConstruction
getObjectByIdentifier, getObjectLinkTreeNode
protected final ClassInfoFactory classInfoFactory
public AbstractObjectIOManagerKeptInMemory(ClassInfoFactory classInfoFactory) throws ObjectIOException
ObjectIOException
protected KeptInMemoryObjectManager getKeptInMemorySubstituteObjectManager()
public void addObject(String key, Object object) throws StoreException
StoreException
protected Object keptInMemoryoriginalObject(Object substitute) throws ObjectIOException
ObjectIOException
protected ObjectAndPersistInfo keptInMemorysubstituteObject(ObjectAndPersistInfo objectAndPersistInfo) throws ObjectIOException, ObjectIODataCorruptedException
protected abstract ObjectAndPersistInfo createSubstituteObjectPersistInfoOfObject(Object substituteObject, ClassInfo substituteClassInfo, ObjectAndPersistInfo substitutedObjectAndPersistInfo) throws ObjectIOException
ObjectIOException
public boolean isKeptInMemory(Object object)
isKeptInMemory
in interface IDeepCopyServiceDelegate
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.