@NotStorableClass public abstract class AbstractObjectIOManagerDelegatingToStateMap extends AbstractObjectIOManagerIOForObject
#objectStateMap
classNameManager, currentDataModelIdentifier, HEADER_DATA_SIZE, helperBinaryConversion, helperReflect, logger, OBJECT_MUST_HAVE_DATA_RECORD_IDENTIFIER_SET, objectInputEnum, objectOutputs
classInfoFactory
Constructor and Description |
---|
AbstractObjectIOManagerDelegatingToStateMap(int currentDataModelIdentifier,
IClassNameManager classNameManager,
boolean proxyMode,
ClassInfoFactory classInfoFactory,
HelperBinaryConversion helperBinaryConversion,
ProxyManager2 proxyManager2) |
assertNotSubstituted, associateNewDataRecordIdentifierToObject, checkForAutoSave, createObjectPersistInfoOfObject, createObjectPersistInfoOfObject, createObjectReadingInStore, createObjectReadingInStoreOrGetExisting, createSubstituteObjectPersistInfoOfObject, deepCopy, getBodyDataFromRecord, getClassInfoFactory, getClassInfoInDataRecord, getCurrentDataModelIdentifier, getDataOfDataRecord, getObjectInput, getObjectIOInputStream, getObjectIOOutputStream, getObjectLinkTreeNode, getObjectOutput, getOrCreateDataRecordIdentifierAssociatedToObject, getOrCreateObjectPersistInfoOfObject, getOrCreateObjectPersistInfoOfObject, getOrCreateObjectPersistInfoOfObject, getProxyManager2, getZipCompressionLevel, isProxyMode, newInstance, newInstance, newInstanceNoConstruction, newObjectLoaded, notToGarbage, originalObjectAndPersistInfo, prepareWrite, reCreateObjectReadingInStore, reInitializeEnum, setInstanceFactory, setProxyMode, setProxyObjectState, setSpecificObjectIO, setZipCompressionLevel, substituteForWrite, substituteObject, write, writeDataRecord
addObject, getKeptInMemorySubstituteObjectManager, isKeptInMemory, keptInMemoryoriginalObject, keptInMemorysubstituteObject, keyOfObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentFileAccessSessionIdentifier, getStoreMutex, isAutoSaveEnabled, isMaintainInMemoryEnabled, isRunAutosaveEnableAndDisable, objectIsAccessed, setRunAutosaveEnable, unsetProxyObjectState
isValueChanged, willNotBeWrote
public AbstractObjectIOManagerDelegatingToStateMap(int currentDataModelIdentifier, IClassNameManager classNameManager, boolean proxyMode, ClassInfoFactory classInfoFactory, HelperBinaryConversion helperBinaryConversion, ProxyManager2 proxyManager2) throws ObjectIOException
ObjectIOException
public ObjectAndPersistInfo getObjectByIdentifier(DataRecordIdentifier identifier)
AbstractObjectIOManagerIOForObject
getObjectByIdentifier
in interface IObjectIoManagerForGarbage
getObjectByIdentifier
in class AbstractObjectIOManagerIOForObject
identifier
- data record identifierprotected ObjectAndPersistInfo createObjectAndPersistInfoOfObjectImpl(Object object, boolean proxyInstance, ClassInfo objectClassInfo) throws ObjectIOException
createObjectAndPersistInfoOfObjectImpl
in class AbstractObjectIOManagerIOForObject
ObjectIOException
protected ObjectAndPersistInfo createSubstitutedObjectAndPersistInfoOfObjectImpl(Object object, ClassInfo objectClassInfo, ObjectAndPersistInfo substituteObjectAndPersistInfo) throws ObjectIOException
createSubstitutedObjectAndPersistInfoOfObjectImpl
in class AbstractObjectIOManagerIOForObject
ObjectIOException
public ObjectAndPersistInfo getObjectAndPersistInfoOfObject(Object object) throws ObjectIOException
ObjectIOException
public DataRecordIdentifier getDataRecordIdentifierAssociatedToObject(Object object) throws ObjectIOException
object
- the object which for the data record identifier is ask forObjectIOException
public void clearObjectState() throws ObjectIOException
ObjectIOException
public void weakReferenceOnObject() throws ObjectIOException
ObjectIOException
public boolean objectHasPersistenceState(ObjectAndPersistInfo objectAndPersistInfo)
public void clearObjectAndPersistInfoByDataRecordIdentifier(DataRecordIdentifier dataRecordIdentifier)
clearObjectAndPersistInfoByDataRecordIdentifier
in class AbstractObjectIOManagerIOForObject
public void dataRecordIdentifierAssociatedToObjectSetted(ObjectAndPersistInfo objectAndItsClassInfo) throws ObjectIOException
AbstractObjectIOManagerIOForObject
dataRecordIdentifierAssociatedToObjectSetted
in interface IObjectIOManagerForProxyObjectIO
dataRecordIdentifierAssociatedToObjectSetted
in class AbstractObjectIOManagerIOForObject
ObjectIOException
public int getNumberOfObjectState()
public int getNumberOfWeakReference()
public int getNumberOfReferenced()
protected void objectIsAccessedDelegate(ObjectAndPersistInfo proxyObjectAndPersistInfo)
protected void setTrackingOfAccessedObjectEnabledDelegate(boolean trackingOfAccessedObjectEnabled, int maintainedInMemoryQuota)
protected void setExclusiveAccessSessionDelegate(boolean exclusiveAccessSession)
public boolean isExclusiveAccessSession()
protected void setMaintainedInMemoryQuotaDelegate(int maintainedInMemoryQuota)
public Collection<ObjectAndPersistInfo> getObjectHavingStateSet()
public Set<ObjectAndPersistInfo> mostAccessedObject()
public void closeObjectState()
@Fortest public ObjectStateMap getObjectStateMap()
@Fortest public ObjectAndPersistInfo getObjectAndPersistInfoOfObjectFromQueue(Object object)
@Fortest public List<ObjectAndPersistInfo> getObjectAndPersistInfoOfObjectFromQueue()
@Fortest public void listenStateMapClean(IObjectStateMapCLeanListener listener)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.