@NotStorableClass @NoStorableAccess public abstract class AbstractFilePersistenceDelegatingToStore extends Object implements IFilePersistence, IFilePersistenceAutoSaver
IStore for manager for file persistence of java
object| Modifier and Type | Field and Description |
|---|---|
protected ClassLoaderProvider |
classLoaderProvider |
protected JoafipLogger |
logger |
protected JoafipMutex |
mutex
for thread synchronization
|
protected IStore |
store
to manage root object persistence
|
| Constructor and Description |
|---|
AbstractFilePersistenceDelegatingToStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProhibitedPackage(String packageName)
Add a prohibited package.
|
void |
addToNotCheckMethod(Class<?> clazz) |
void |
addToNotCheckMethod(Constructor<?> constructor) |
void |
addToNotCheckMethod(Method method) |
void |
addToNotCheckMethod(String objectClassName,
String absoluteMethodName) |
Collection<ClassInfo> |
allClassInformation() |
protected abstract void |
assertSessionClosed() |
protected abstract void |
assertSessionOpenned() |
void |
autoSaveSetup(int maxInMemoryThreshold)
(PROPS) can be set using properties file see
FilePersistence.FilePersistence(String, boolean) |
ClassInfo |
classInfoOfObject(Object object) |
Class<?> |
classOfObject(Object object) |
protected void |
clearStore() |
protected void |
closeStore() |
Object |
copy(Object sourceObject)
Deprecated.
|
Object |
createObjectReadingInStoreOrGetExisting(DataRecordIdentifier dataRecordIdentifier) |
Object |
deepCopy(Object sourceObject,
boolean forceLoad)
deep copy of object, useful to detach from persistence ( proxy object to
non-proxy, detached state if use java agent )
|
void |
disableBackgroundGarbageSweep()
disable background garbage sweep operation
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
enableBackgroundGarbageSweep(int sleepTime)
enable background garbage sweep operation
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
long |
freeSize()
get number of free bytes in data file
|
int |
garbageSweep(String filePath)
garbage sweep, remove data record for object not attached to root
should be call only when session closed |
ReferenceLink[] |
getAllReferenceLink() |
List<DataRecordIdentifierRBTNode> |
getCandidate() |
int |
getClassIdentifier(Class<?> clazz) |
ClassLoader |
getClassLoader() |
DataRecordIdentifier |
getCurrentDataRecordIdentifierAssociatedToObject(Object object)
get data record identifier associated to an object
|
IHeapDataManager |
getDataManager() |
LinkRecordManager |
getLinkRecordManager() |
JoafipMutex |
getMutex() |
int |
getNumberOfDataRecord()
get number of data record in heap file
|
int |
getNumberOfFreeRecord()
get number of free record in heap file
|
int |
getNumberOfGarbageCandidate()
get the number of known garbage candidate
|
int |
getNumberOfModified() |
int |
getNumberOfObjectExported() |
int |
getNumberOfObjectState() |
int |
getNumberOfReferenced() |
int |
getNumberOfToGarbage()
get the number of record to garbage
|
int |
getNumberOfVisited() |
int |
getNumberOfWeakReference() |
List<ObjectAndPersistInfo> |
getObjectAndPersistInfoOfObjectFromQueue() |
ObjectAndPersistInfo |
getObjectAndPersistInfoOfObjectFromQueue(Object object) |
Collection<ObjectAndPersistInfo> |
getObjectHavingStateSet() |
ObjectIOManager |
getObjectIOManager() |
URL |
getResource(String resourceName) |
String |
getStorageFileName() |
IStore |
getStore() |
protected Map<EnumKey,Enum<?>> |
getStoredEnumMap() |
List<DataRecordIdentifierRBTNode> |
getToGarbage() |
Set<String> |
getVisitedObjectSet()
|
List<String> |
getWroteArrays()
|
Map<String,MutableInteger> |
getWroteObjectSet()
|
boolean |
isAutoSaveEnabled() |
boolean |
isGarbageManagement() |
boolean |
isProxy(Object object)
to know if object is a proxy
|
void |
keptInMemory(String key,
Object object)
Inform that an object is kept in memory, never persisted
since a persisted object can reference a kept in memory object a key is use to make able to recreate link between read from storage object and kept in memory object All instance of the object class can not be persisted (PROPS) can not be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
String |
keyOfObjectKeptInMemory(Object object) |
ClassInfo |
knownAsNotExisting(String className)
declare a class known as not existing
|
void |
listenStateMapClean(IObjectStateMapCLeanListener listener) |
void |
maintainInMemorySetup(int maintainedInMemoryQuota)
(PROPS) can be set using properties file see
FilePersistence.FilePersistence(String, boolean) |
Object |
newInstance(Class<?> objectClass) |
Object |
newInstance(Class<?> objectClass,
Class<?>[] parameterTypes,
Object[] initargs) |
Object |
newProxyInstance(Class<?> objectClass) |
Object |
newProxyInstance(Class<?> objectClass,
Class<?>[] parameterTypes,
Object[] initargs)
|
Object |
newProxyInstance(Object object)
deep copy where all copy object are proxied if not enhanced by java agent
see FilePersistence.targetCause(Exception) |
protected void |
openStore(boolean removeFiles) |
void |
referencedByPesistedStaticField(Class<?> classHavingStaticFieldReferenced)
instance referenced by static field of class are kept in memory
|
void |
referencedByPesistedStaticField(Class<?>[] classHavingStaticFieldReferenced)
instance referenced by static field of classes are kept in memory
|
void |
removeWriteSubstitution(Class<?> replaced) |
void |
removeWriteSubstitution(String replacedName) |
void |
setAutoSaveEnabled(boolean enabled)
set auto save enabled
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean) |
void |
setAutoSaveEventListener(IAutoSaveEventListener autoSaveEventListener)
set save event listener
|
void |
setChangeLogEnabled(boolean enabled,
int maxNumberOfChangeLog)
set enable state of file change logging
(PROPS) can not be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setClassLoader(ClassLoader classLoader)
set the class loader use by proxy creation to define class
the class loader use by proxy creation to define class should be the same used to load class of object to be persisted |
void |
setDeprecatedInStore(Class<?> objectClass)
mark class to be deprecated in store, may exist in store but will not be
write more
if class not accessible use IFilePersistence.setDeprecatedInStore(String)(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setDeprecatedInStore(Class<?>[] objectClasses)
mark class to be deprecated in store, may exist in store but will not be
write more
IFilePersistence.setDeprecatedInStore(String[])(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setDeprecatedInStore(String objectClassName)
mark class to be deprecated in store, may exist in store but will not be
write more
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setDeprecatedInStore(String[] objectClassNames)
mark class to be deprecated in store, may exist in store but will not be
write more
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
protected void |
setEnumState(Enum<?> enumObject)
Deprecated.
|
void |
setExportListener(IExporterListener listener) |
void |
setForceEnhance(Class<?> objectClass)
force class to be enhanced even if have public method if class not
accessible see
IFilePersistence.setForceEnhance(String)(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setForceEnhance(Class<?>[] objectClasses)
force classes to be enhanced even if have public method if class not
accessible see
IFilePersistence.setForceEnhance(String[])(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setForceEnhance(String objectClassName)
force class to be enhanced even if have public method
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setForceEnhance(String[] objectClassNames)
force classes to be enhanced even if have public method
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setGarbageListener(IGarbageListener listener)
set garbage listener
(PROPS) can not be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setMaintainedInMemoryEnabled(boolean enabled)
(PROPS) can be set using properties file see
FilePersistence.FilePersistence(String, boolean) |
void |
setNoLazyLoad(Class<?> objectClass)
set no use of lazy load for a class
if class not accessible see IFilePersistence.setNoLazyLoad(String)(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setNoLazyLoad(Class<?>[] objectClasses)
set no use of lazy load for the classes
if class not accessible see IFilePersistence.setNoLazyLoad(String[])(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setNoLazyLoad(String objectClassName)
set no use of lazy load for a class
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setNoLazyLoad(String[] objectClassNames)
set no use of lazy load for the classes
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setNotPersistedField(Class<?> clazz,
String[] fieldNames) |
void |
setNotPersistedField(String objectClassName,
String[] fieldNames) |
void |
setNotStorable(Class<?> objectClass)
mark class to be not storable
if class not accessible use IFilePersistence.setNotStorable(String)(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setNotStorable(Class<?>[] objectClasses)
mark classes to be not storable if class not accessible use
IFilePersistence.setNotStorable(String[])(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setNotStorable(String objectClassName)
mark class to be not storable
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setNotStorable(String[] objectClassNames)
mark classes to be not storable
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setObjectIOForClass(Class<?> objectClass,
Class<? extends IObjectInput> objectInputClass,
Class<? extends IObjectOutput> objectOutputClass)
set object input output manager for a class
if class not accessible see #setObjectIOForClass(String, Class)(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setObjectIOForClass(String objectClassName,
Class<? extends IObjectInput> objectInputClass,
Class<? extends IObjectOutput> objectOutputClass)
set object input output manager for a class
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setRecordSaveActions(boolean recordActions)
activation of object write recording when saving see
IFilePersistence.getWroteObjectSet() and IFilePersistence.getVisitedObjectSet()(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setRecordSaveActions(boolean recordActions,
ISaveRecordActionListener saveRecordActionListener) |
void |
setSaveRecordActionListener(ISaveRecordActionListener saveRecordActionListener) |
void |
setStorable(Class<?> objectClass)
mark class to be storable
if class not accessible use IFilePersistence.setStorable(String)(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStorable(Class<?>[] objectClasses)
mark classes to be storable if class not accessible use
IFilePersistence.setStorable(String[])(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStorable(String objectClassName)
mark class to be storable
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStorable(String[] objectClassNames)
mark classes to be storable
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
protected void |
setStore(IStore store) |
protected void |
setStoredEnumMap(Map<EnumKey,Enum<?>> storedEnumMap) |
void |
setStoreNotUseStandardSerialization(Class<?> objectClass)
set not use standard serialization for a serializable class
if class not accessible see IFilePersistence.setStoreNotUseStandardSerialization(String)(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreNotUseStandardSerialization(Class<?>[] objectClasses)
set not use standard serialization for a serializable classes if class
not accessible see
IFilePersistence.setStoreNotUseStandardSerialization(String[])(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreNotUseStandardSerialization(String objectClassName)
set not use standard serialization for a serializable class
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreNotUseStandardSerialization(String[] objectClassNames)
set not use standard serialization for a serializable classes
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreOnlyMarkedStorable(boolean storeOnlyMarkedStorable)
to specify if only class marked by
StorableClass can be persisted
or not |
void |
setStoreSerializeAndGZippedInOneRecord(Class<?> objectClass)
set storage mode serialized and GZipped for a serializable class
if class not accessible see IFilePersistence.setStoreSerializeAndGZippedInOneRecord(String)(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeAndGZippedInOneRecord(Class<?>[] objectClasses)
set storage mode serialized and GZipped for a serializable classes if
class not accessible see
IFilePersistence.setStoreSerializeAndGZippedInOneRecord(String[])(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeAndGZippedInOneRecord(String objectClassName)
set storage mode serialized and GZipped for a serializable class
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeAndGZippedInOneRecord(String[] objectClassNames)
set storage mode serialized and GZipped for a serializable classes
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeAndZippedInOneRecord(Class<?> objectClass)
set storage mode serialized and Zipped for a serializable class
if class is not accessible see IFilePersistence.setStoreSerializeAndZippedInOneRecord(String)(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeAndZippedInOneRecord(Class<?>[] objectClasses)
set storage mode serialized and Zipped for a serializable classes if
class is not accessible see
IFilePersistence.setStoreSerializeAndZippedInOneRecord(String[])(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeAndZippedInOneRecord(String objectClassName)
set storage mode serialized and Zipped for a serializable class
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeAndZippedInOneRecord(String[] objectClassNames)
set storage mode serialized and Zipped for a serializable classes
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeInOneRecord(Class<?> objectClass)
set storage mode serialized for a serializable class
if class is not accessible see IFilePersistence.setStoreSerializeInOneRecord(String)(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeInOneRecord(Class<?>[] objectClasses)
set storage mode serialized for a serializable classes
if class is not accessible see IFilePersistence.setStoreSerializeInOneRecord(String[])(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeInOneRecord(String objectClassName)
set storage mode serialized for a serializable class
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setStoreSerializeInOneRecord(String[] objectClassNames)
set storage mode serialized for a serializable classes
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setSubstituteObjectManager(Class<?> objectClass,
Class<?> substituteObjectClass,
ISubstituteObjectManager substituteObjectManager)
set substitution for object of a class writing and reading
if class is not accessible see IFilePersistence.setSubstituteObjectManager(String, Class, ISubstituteObjectManager)
|
void |
setSubstituteObjectManager(String objectClassName,
Class<?> substituteObjectClass,
ISubstituteObjectManager substituteObjectManager)
set substitution for object of a class writing and reading
|
void |
setSubstitutionOfJavaUtilCollection(boolean enabled)
activate java util collection substitution
PVector for Vector PLinkedList for LinkedList PArrayList for ArrayList PHashSet for HashSet PLinkedHashSet for LinkedHashSet PTreeSet for TreeSet PHashMap for HashMap PLinkedHashMap for LinkedHashMap PTreeMap for TreeMap PHashMap for HashTable (PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setWriteSubstitution(Class<?> replaced,
Class<?> substitute,
ISubsituteSynchronizer synchronizer)
record a class substitution at write
if class is not accessible see IFilePersistence.setWriteSubstitution(String, Class, ISubsituteSynchronizer) (PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setWriteSubstitution(String replacedName,
Class<?> substitute,
ISubsituteSynchronizer synchronizer)
record a class substitution at write
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
setZipCompressionLevel(int zipCompressionLevel)
set the compression level for class annotated
StoreSerializeAndZippedInOneRecord or defined using
IFilePersistence.setStoreSerializeAndZippedInOneRecord(Class) or
IFilePersistence.setStoreSerializeAndZippedInOneRecord(Class[])the compression level have value 0 thru 9: #NO_COMPRESSION
#BEST_SPEED
.... |
void |
storedEnum(Class<? extends Enum<?>> enumClass)
Deprecated.
|
void |
storedEnum(Class<? extends Enum<?>>[] enumClasses)
Deprecated.
|
void |
storedEnum(Enum<?> enumObject)
Deprecated.
|
void |
storedImmutableEnum(Class<? extends Enum<?>> enumClass)
declare persisted immutable enum by its class
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
void |
storedImmutableEnum(Class<? extends Enum<?>>[] enumClasses)
declare persisted immutable enum by their class
(PROPS) can be set using properties file see FilePersistence.FilePersistence(String, boolean)
|
protected void |
storeDoNotSave() |
protected void |
storeEndAccessSession() |
protected Object |
storeGetRoot() |
protected void |
storeNewAccessSession(boolean exclusiveAccessSession) |
protected boolean |
storeReadRoot() |
protected void |
storeSave(boolean closing,
boolean autoSave) |
protected void |
storeSetInstanceFactory(IInstanceFactory instanceFactory) |
protected void |
storeSetRoot(Object rootObject,
Map<EnumKey,Enum<?>> storedEnumMap) |
long |
totalSize()
get total size of data file
|
void |
usedForClassNameManagement(Set<DataRecordIdentifier> setToUpdate) |
void |
usedForGarbageManagement(Set<DataRecordIdentifier> setToUpdate) |
long |
usedSize()
get number of bytes used to store data in data file
|
void |
xmlExport(String directoryName,
String temporaryDirectoryName,
boolean exportPersistedClassByteCode)
export persisted data in file export.xml put in
directoryName |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, close, createAloneDataAccessSession, createDataAccessSession, createExclusiveDataAccessSession, isClosed, isOpened, setImportListener, storedMutableEnum, storedMutableEnum, xmlImportautoSave, isRunAutosaveEnable, setRunAutosaveEnableprotected final transient JoafipLogger logger
protected transient IStore store
protected transient JoafipMutex mutex
protected final ClassLoaderProvider classLoaderProvider
public AbstractFilePersistenceDelegatingToStore()
protected void setStore(IStore store)
public IStore getStore()
public JoafipMutex getMutex()
protected void openStore(boolean removeFiles)
throws StoreException,
StoreClassNotFoundException
protected void closeStore()
throws StoreException
StoreExceptionprotected void clearStore()
throws StoreException,
StoreClassNotFoundException
public void setAutoSaveEventListener(IAutoSaveEventListener autoSaveEventListener)
IFilePersistencesetAutoSaveEventListener in interface IFilePersistenceautoSaveEventListener - the save event listenerprotected void storeNewAccessSession(boolean exclusiveAccessSession)
protected void storeSetInstanceFactory(IInstanceFactory instanceFactory)
protected void storeEndAccessSession()
throws FilePersistenceException
FilePersistenceExceptionprotected void storeSave(boolean closing,
boolean autoSave)
throws StoreException,
StoreInvalidClassException,
StoreNotSerializableException,
StoreClassNotFoundException,
StoreDataCorruptedException,
StoreTooBigForSerializationException
protected void storeDoNotSave()
throws StoreException
StoreExceptionpublic Object newInstance(Class<?> objectClass, Class<?>[] parameterTypes, Object[] initargs)
protected void storeSetRoot(Object rootObject, Map<EnumKey,Enum<?>> storedEnumMap) throws StoreException, StoreInvalidClassException, StoreNotSerializableException, StoreClassNotFoundException, StoreDataCorruptedException
protected boolean storeReadRoot()
throws StoreException,
StoreClassNotFoundException,
StoreInvalidClassException,
StoreDataCorruptedException,
StoreNotSerializableException
StoreExceptionStoreClassNotFoundExceptionStoreInvalidClassExceptionStoreDataCorruptedExceptionStoreNotSerializableExceptionprotected Object storeGetRoot()
public void setChangeLogEnabled(boolean enabled,
int maxNumberOfChangeLog)
throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setChangeLogEnabled in interface IFilePersistenceenabled - true if change log enabledmaxNumberOfChangeLog - max number of state change logFilePersistenceExceptionpublic void setZipCompressionLevel(int zipCompressionLevel)
throws FilePersistenceException
IFilePersistenceStoreSerializeAndZippedInOneRecord or defined using
IFilePersistence.setStoreSerializeAndZippedInOneRecord(Class) or
IFilePersistence.setStoreSerializeAndZippedInOneRecord(Class[])#NO_COMPRESSION#BEST_SPEED#BEST_COMPRESSIONFilePersistence.FilePersistence(String, boolean)
setZipCompressionLevel in interface IFilePersistencezipCompressionLevel - the zip the compression level (0-9) for object storing using
zipped serializationFilePersistenceExceptionpublic void setGarbageListener(IGarbageListener listener) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setGarbageListener in interface IFilePersistencelistener - the garbage listener, can be null to remove previous oneFilePersistenceExceptionpublic void setSubstitutionOfJavaUtilCollection(boolean enabled)
throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setSubstitutionOfJavaUtilCollection in interface IFilePersistenceFilePersistenceExceptionpublic void setWriteSubstitution(Class<?> replaced, Class<?> substitute, ISubsituteSynchronizer synchronizer) throws FilePersistenceException
IFilePersistenceIFilePersistence.setWriteSubstitution(String, Class, ISubsituteSynchronizer) FilePersistence.FilePersistence(String, boolean)
setWriteSubstitution in interface IFilePersistencereplaced - the replaced classsubstitute - the substitute for the replaced classsynchronizer - the state synchronizer for class and its substituteFilePersistenceExceptionpublic void removeWriteSubstitution(Class<?> replaced) throws FilePersistenceException
removeWriteSubstitution in interface IFilePersistenceFilePersistenceExceptionpublic void setWriteSubstitution(String replacedName, Class<?> substitute, ISubsituteSynchronizer synchronizer) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setWriteSubstitution in interface IFilePersistencereplacedName - the replaced class by its namesubstitute - the substitute for the replaced classsynchronizer - the state synchronizer for class and its substituteFilePersistenceExceptionpublic void removeWriteSubstitution(String replacedName) throws FilePersistenceException, FilePersistenceClassNotFoundException
removeWriteSubstitution in interface IFilePersistenceFilePersistenceExceptionFilePersistenceClassNotFoundExceptionpublic void setNoLazyLoad(Class<?> objectClass) throws FilePersistenceException
IFilePersistenceIFilePersistence.setNoLazyLoad(String)FilePersistence.FilePersistence(String, boolean)
setNoLazyLoad in interface IFilePersistenceFilePersistenceExceptionpublic void setNoLazyLoad(Class<?>[] objectClasses) throws FilePersistenceException
IFilePersistenceIFilePersistence.setNoLazyLoad(String[])FilePersistence.FilePersistence(String, boolean)
setNoLazyLoad in interface IFilePersistenceFilePersistenceExceptionpublic void setNoLazyLoad(String objectClassName)
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setNoLazyLoad in interface IFilePersistencepublic void setNoLazyLoad(String[] objectClassNames)
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setNoLazyLoad in interface IFilePersistencepublic void setStoreNotUseStandardSerialization(Class<?> objectClass) throws FilePersistenceException
IFilePersistenceIFilePersistence.setStoreNotUseStandardSerialization(String)FilePersistence.FilePersistence(String, boolean)
setStoreNotUseStandardSerialization in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreNotUseStandardSerialization(Class<?>[] objectClasses) throws FilePersistenceException
IFilePersistenceIFilePersistence.setStoreNotUseStandardSerialization(String[])FilePersistence.FilePersistence(String, boolean)
setStoreNotUseStandardSerialization in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreNotUseStandardSerialization(String objectClassName) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setStoreNotUseStandardSerialization in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreNotUseStandardSerialization(String[] objectClassNames) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setStoreNotUseStandardSerialization in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeAndGZippedInOneRecord(Class<?> objectClass) throws FilePersistenceException
IFilePersistenceIFilePersistence.setStoreSerializeAndGZippedInOneRecord(String)FilePersistence.FilePersistence(String, boolean)
setStoreSerializeAndGZippedInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeAndGZippedInOneRecord(Class<?>[] objectClasses) throws FilePersistenceException
IFilePersistenceIFilePersistence.setStoreSerializeAndGZippedInOneRecord(String[])FilePersistence.FilePersistence(String, boolean)
setStoreSerializeAndGZippedInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeAndGZippedInOneRecord(String objectClassName) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setStoreSerializeAndGZippedInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeAndGZippedInOneRecord(String[] objectClassNames) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setStoreSerializeAndGZippedInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeAndZippedInOneRecord(Class<?> objectClass) throws FilePersistenceException
IFilePersistenceIFilePersistence.setStoreSerializeAndZippedInOneRecord(String)FilePersistence.FilePersistence(String, boolean)
setStoreSerializeAndZippedInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeAndZippedInOneRecord(Class<?>[] objectClasses) throws FilePersistenceException
IFilePersistenceIFilePersistence.setStoreSerializeAndZippedInOneRecord(String[])FilePersistence.FilePersistence(String, boolean)
setStoreSerializeAndZippedInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeAndZippedInOneRecord(String objectClassName) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setStoreSerializeAndZippedInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeAndZippedInOneRecord(String[] objectClassNames) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setStoreSerializeAndZippedInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeInOneRecord(Class<?> objectClass) throws FilePersistenceException
IFilePersistenceIFilePersistence.setStoreSerializeInOneRecord(String)FilePersistence.FilePersistence(String, boolean)
setStoreSerializeInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeInOneRecord(Class<?>[] objectClasses) throws FilePersistenceException
IFilePersistenceIFilePersistence.setStoreSerializeInOneRecord(String[])FilePersistence.FilePersistence(String, boolean)
setStoreSerializeInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeInOneRecord(String objectClassName) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setStoreSerializeInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreSerializeInOneRecord(String[] objectClassNames) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setStoreSerializeInOneRecord in interface IFilePersistenceFilePersistenceExceptionpublic void setStorable(Class<?> objectClass) throws FilePersistenceException
IFilePersistenceIFilePersistence.setStorable(String)FilePersistence.FilePersistence(String, boolean)
setStorable in interface IFilePersistenceFilePersistenceExceptionpublic void setStorable(Class<?>[] objectClasses) throws FilePersistenceException
IFilePersistenceIFilePersistence.setStorable(String[])FilePersistence.FilePersistence(String, boolean)
setStorable in interface IFilePersistenceFilePersistenceExceptionpublic void setStorable(String objectClassName) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setStorable in interface IFilePersistenceFilePersistenceExceptionpublic void setStorable(String[] objectClassNames) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setStorable in interface IFilePersistenceFilePersistenceExceptionpublic void setNotStorable(Class<?> objectClass) throws FilePersistenceException
IFilePersistenceIFilePersistence.setNotStorable(String)FilePersistence.FilePersistence(String, boolean)
setNotStorable in interface IFilePersistenceFilePersistenceExceptionpublic void setNotStorable(Class<?>[] objectClasses) throws FilePersistenceException
IFilePersistenceIFilePersistence.setNotStorable(String[])FilePersistence.FilePersistence(String, boolean)
setNotStorable in interface IFilePersistenceFilePersistenceExceptionpublic void setNotStorable(String objectClassName) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setNotStorable in interface IFilePersistenceFilePersistenceExceptionpublic void setNotStorable(String[] objectClassNames) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setNotStorable in interface IFilePersistenceFilePersistenceExceptionpublic void setDeprecatedInStore(Class<?> objectClass) throws FilePersistenceException
IFilePersistenceIFilePersistence.setDeprecatedInStore(String)FilePersistence.FilePersistence(String, boolean)
setDeprecatedInStore in interface IFilePersistenceFilePersistenceExceptionpublic void setDeprecatedInStore(Class<?>[] objectClasses) throws FilePersistenceException
IFilePersistenceIFilePersistence.setDeprecatedInStore(String[])FilePersistence.FilePersistence(String, boolean)
setDeprecatedInStore in interface IFilePersistenceFilePersistenceExceptionpublic void setDeprecatedInStore(String objectClassName) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setDeprecatedInStore in interface IFilePersistenceFilePersistenceExceptionpublic void setDeprecatedInStore(String[] objectClassNames) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setDeprecatedInStore in interface IFilePersistenceFilePersistenceExceptionpublic void setForceEnhance(Class<?> objectClass) throws FilePersistenceException
IFilePersistenceIFilePersistence.setForceEnhance(String)FilePersistence.FilePersistence(String, boolean)
setForceEnhance in interface IFilePersistenceFilePersistenceExceptionpublic void setForceEnhance(Class<?>[] objectClasses) throws FilePersistenceException
IFilePersistenceIFilePersistence.setForceEnhance(String[])FilePersistence.FilePersistence(String, boolean)
setForceEnhance in interface IFilePersistenceFilePersistenceExceptionpublic void setForceEnhance(String objectClassName)
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setForceEnhance in interface IFilePersistencepublic void setForceEnhance(String[] objectClassNames)
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setForceEnhance in interface IFilePersistencepublic void addProhibitedPackage(String packageName)
IFilePersistenceaddProhibitedPackage in interface IFilePersistencepublic void addToNotCheckMethod(Class<?> clazz)
addToNotCheckMethod in interface IFilePersistencepublic void addToNotCheckMethod(Method method)
addToNotCheckMethod in interface IFilePersistencepublic void addToNotCheckMethod(Constructor<?> constructor)
addToNotCheckMethod in interface IFilePersistencepublic void addToNotCheckMethod(String objectClassName, String absoluteMethodName)
addToNotCheckMethod in interface IFilePersistencepublic void setObjectIOForClass(Class<?> objectClass, Class<? extends IObjectInput> objectInputClass, Class<? extends IObjectOutput> objectOutputClass) throws FilePersistenceException
IFilePersistence#setObjectIOForClass(String, Class)FilePersistence.FilePersistence(String, boolean)
setObjectIOForClass in interface IFilePersistenceobjectClass - the class for which is provide the object input outputobjectInputClass - object input manager class for the classobjectOutputClass - object output manager class for the classFilePersistenceException - object I/O construction failurepublic void setObjectIOForClass(String objectClassName, Class<? extends IObjectInput> objectInputClass, Class<? extends IObjectOutput> objectOutputClass) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
setObjectIOForClass in interface IFilePersistenceobjectClassName - the class by its name for which is provide the object input
outputobjectInputClass - object input manager class for the classobjectOutputClass - object output manager class for the classFilePersistenceException - object I/O construction failurepublic void storedImmutableEnum(Class<? extends Enum<?>> enumClass) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
storedImmutableEnum in interface IFilePersistenceenumClass - the enum classFilePersistenceExceptionpublic void storedImmutableEnum(Class<? extends Enum<?>>[] enumClasses) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
storedImmutableEnum in interface IFilePersistenceFilePersistenceException@Deprecated public void storedEnum(Class<? extends Enum<?>>[] enumClasses) throws FilePersistenceException
IFilePersistenceIFilePersistence.storedMutableEnum(Class[])FilePersistence.FilePersistence(String, boolean)
storedEnum in interface IFilePersistenceenumClasses - the enum classesFilePersistenceException@Deprecated public void storedEnum(Class<? extends Enum<?>> enumClass) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
storedEnum in interface IFilePersistenceenumClass - the enum classFilePersistenceException@Deprecated public void storedEnum(Enum<?> enumObject) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
storedEnum in interface IFilePersistenceFilePersistenceException@Deprecated protected void setEnumState(Enum<?> enumObject) throws FilePersistenceException
enumObject - the enum for which state must be setFilePersistenceExceptionpublic void setSubstituteObjectManager(Class<?> objectClass, Class<?> substituteObjectClass, ISubstituteObjectManager substituteObjectManager) throws FilePersistenceException
IFilePersistenceIFilePersistence.setSubstituteObjectManager(String, Class, ISubstituteObjectManager)
setSubstituteObjectManager in interface IFilePersistenceobjectClass - the class of object to substitutesubstituteObjectClass - the substitute object classsubstituteObjectManager - the substitute manager to useFilePersistenceExceptionpublic void setSubstituteObjectManager(String objectClassName, Class<?> substituteObjectClass, ISubstituteObjectManager substituteObjectManager) throws FilePersistenceException
IFilePersistencesetSubstituteObjectManager in interface IFilePersistenceobjectClassName - the class by its name of object to substitutesubstituteObjectClass - the substitute object classsubstituteObjectManager - the substitute manager to useFilePersistenceExceptionpublic void setNotPersistedField(Class<?> clazz, String[] fieldNames) throws FilePersistenceException
setNotPersistedField in interface IFilePersistenceFilePersistenceExceptionpublic void setNotPersistedField(String objectClassName, String[] fieldNames) throws FilePersistenceException
setNotPersistedField in interface IFilePersistenceFilePersistenceExceptionpublic int garbageSweep(String filePath) throws FilePersistenceException, FilePersistenceClassNotFoundException, FilePersistenceDataCorruptedException
IFilePersistencegarbageSweep in interface IFilePersistencefilePath - temporary file for data record identifier setFilePersistenceExceptionFilePersistenceClassNotFoundExceptionFilePersistenceDataCorruptedExceptionprotected abstract void assertSessionClosed()
throws FilePersistenceException
FilePersistenceExceptionprotected abstract void assertSessionOpenned()
throws FilePersistenceException
FilePersistenceExceptionpublic boolean isGarbageManagement()
throws FilePersistenceException
isGarbageManagement in interface IFilePersistenceFilePersistenceExceptionpublic void enableBackgroundGarbageSweep(int sleepTime)
throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
enableBackgroundGarbageSweep in interface IFilePersistencesleepTime - sleep time between garbage sweep operationFilePersistenceExceptionpublic void disableBackgroundGarbageSweep()
throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
disableBackgroundGarbageSweep in interface IFilePersistenceFilePersistenceExceptionpublic void usedForGarbageManagement(Set<DataRecordIdentifier> setToUpdate) throws FilePersistenceException
FilePersistenceExceptionpublic int getNumberOfGarbageCandidate()
throws FilePersistenceException
IFilePersistencegetNumberOfGarbageCandidate in interface IFilePersistenceFilePersistenceException@Fortest public List<DataRecordIdentifierRBTNode> getCandidate() throws FilePersistenceException
FilePersistenceExceptionpublic int getNumberOfToGarbage()
throws FilePersistenceException
IFilePersistencegetNumberOfToGarbage in interface IFilePersistenceFilePersistenceException@Fortest public List<DataRecordIdentifierRBTNode> getToGarbage() throws FilePersistenceException
FilePersistenceException@Fortest public ReferenceLink[] getAllReferenceLink() throws FilePersistenceException
FilePersistenceExceptionpublic int getNumberOfDataRecord()
throws FilePersistenceException
IFilePersistencegetNumberOfDataRecord in interface IFilePersistenceFilePersistenceExceptionpublic int getNumberOfFreeRecord()
throws FilePersistenceException
IFilePersistencegetNumberOfFreeRecord in interface IFilePersistenceFilePersistenceExceptionpublic long usedSize()
throws FilePersistenceException
IFilePersistenceusedSize in interface IFilePersistenceFilePersistenceExceptionpublic long freeSize()
throws FilePersistenceException
IFilePersistencefreeSize in interface IFilePersistenceFilePersistenceExceptionpublic long totalSize()
throws FilePersistenceException
IFilePersistencetotalSize in interface IFilePersistenceFilePersistenceExceptionpublic int getNumberOfObjectState()
throws FilePersistenceException
getNumberOfObjectState in interface IFilePersistenceFilePersistenceExceptionpublic int getNumberOfWeakReference()
throws FilePersistenceException
getNumberOfWeakReference in interface IFilePersistenceFilePersistenceExceptionpublic int getNumberOfReferenced()
throws FilePersistenceException
getNumberOfReferenced in interface IFilePersistenceFilePersistenceException@Fortest public Collection<ObjectAndPersistInfo> getObjectHavingStateSet()
public int getNumberOfModified()
throws FilePersistenceException
getNumberOfModified in interface IFilePersistenceFilePersistenceExceptionpublic int getNumberOfVisited()
throws FilePersistenceException
getNumberOfVisited in interface IFilePersistenceFilePersistenceExceptionpublic String getStorageFileName() throws FilePersistenceException
getStorageFileName in interface IFilePersistenceFilePersistenceException@Deprecated public Object copy(Object sourceObject) throws FilePersistenceException
IFilePersistence#deepCopy(Object)copy in interface IFilePersistenceFilePersistenceExceptionpublic Object deepCopy(Object sourceObject, boolean forceLoad) throws FilePersistenceException
IFilePersistencedeepCopy in interface IFilePersistenceforceLoad - true if force proxy loading before copyFilePersistenceExceptionpublic void xmlExport(String directoryName, String temporaryDirectoryName, boolean exportPersistedClassByteCode) throws FilePersistenceException, FilePersistenceClassNotFoundException, FilePersistenceInvalidClassException, FilePersistenceDataCorruptedException, FilePersistenceNotSerializableException, FilePersistenceTooBigForSerializationException
IFilePersistencedirectoryName directory
can also export byte code of class of persisted object
xmlExport in interface IFilePersistencedirectoryName - directory name where store exporttemporaryDirectoryName - temporary directory name used to store temporary files while
exportingexportPersistedClassByteCode - true if export persisted class byte codeFilePersistenceExceptionFilePersistenceClassNotFoundExceptionFilePersistenceInvalidClassExceptionFilePersistenceDataCorruptedExceptionFilePersistenceNotSerializableExceptionFilePersistenceTooBigForSerializationExceptionpublic void setExportListener(IExporterListener listener)
setExportListener in interface IFilePersistencepublic int getNumberOfObjectExported()
getNumberOfObjectExported in interface IFilePersistencepublic void setClassLoader(ClassLoader classLoader) throws FilePersistenceException
IFilePersistencesetClassLoader in interface IFilePersistenceFilePersistenceExceptionpublic ClassLoader getClassLoader() throws FilePersistenceException
getClassLoader in interface IFilePersistenceFilePersistenceExceptionpublic URL getResource(String resourceName) throws MalformedURLException
getResource in interface IFilePersistenceMalformedURLExceptionpublic Object newProxyInstance(Object object) throws FilePersistenceException
IFilePersistenceFilePersistence.targetCause(Exception)newProxyInstance in interface IFilePersistenceobject - object to copy where all instance will be replaced by proxyFilePersistenceExceptionpublic Object newProxyInstance(Class<?> objectClass, Class<?>[] parameterTypes, Object[] initargs) throws FilePersistenceException
IFilePersistencenewProxyInstance in interface IFilePersistenceobjectClass - the class of the object to createparameterTypes - parameters type, see
Class.getConstructor(Class...)initargs - the construction parameters, see
Constructor.newInstance(Object...)FilePersistenceExceptionpublic Object newProxyInstance(Class<?> objectClass) throws FilePersistenceException
newProxyInstance in interface IFilePersistenceFilePersistenceExceptionpublic void setStoreOnlyMarkedStorable(boolean storeOnlyMarkedStorable)
IFilePersistenceStorableClass can be persisted
or notsetStoreOnlyMarkedStorable in interface IFilePersistencepublic int getClassIdentifier(Class<?> clazz) throws FilePersistenceException, FilePersistenceClassNotFoundException
getClassIdentifier in interface IFilePersistenceFilePersistenceExceptionFilePersistenceClassNotFoundExceptionpublic Collection<ClassInfo> allClassInformation()
allClassInformation in interface IFilePersistencepublic boolean isProxy(Object object)
IFilePersistenceisProxy in interface IFilePersistenceobject - the object to testpublic void keptInMemory(String key, Object object) throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)
keptInMemory in interface IFilePersistencekey - key associated to the objectobject - the not persisted object kept in memoryFilePersistenceExceptionpublic void referencedByPesistedStaticField(Class<?> classHavingStaticFieldReferenced) throws FilePersistenceException
IFilePersistencereferencedByPesistedStaticField in interface IFilePersistenceFilePersistenceExceptionpublic void referencedByPesistedStaticField(Class<?>[] classHavingStaticFieldReferenced) throws FilePersistenceException
IFilePersistencereferencedByPesistedStaticField in interface IFilePersistenceFilePersistenceExceptionpublic String keyOfObjectKeptInMemory(Object object)
keyOfObjectKeptInMemory in interface IFilePersistenceobject - the not persisted object kept in memorypublic void setRecordSaveActions(boolean recordActions)
IFilePersistenceIFilePersistence.getWroteObjectSet() and IFilePersistence.getVisitedObjectSet()FilePersistence.FilePersistence(String, boolean)
setRecordSaveActions in interface IFilePersistencerecordActions - true to activate object write recordingpublic void setRecordSaveActions(boolean recordActions,
ISaveRecordActionListener saveRecordActionListener)
setRecordSaveActions in interface IFilePersistencepublic void setSaveRecordActionListener(ISaveRecordActionListener saveRecordActionListener)
setSaveRecordActionListener in interface IFilePersistencepublic Map<String,MutableInteger> getWroteObjectSet()
IFilePersistencegetWroteObjectSet in interface IFilePersistencepublic Set<String> getVisitedObjectSet()
IFilePersistencegetVisitedObjectSet in interface IFilePersistencepublic List<String> getWroteArrays()
IFilePersistencegetWroteArrays in interface IFilePersistencepublic void setMaintainedInMemoryEnabled(boolean enabled)
IFilePersistenceFilePersistence.FilePersistence(String, boolean)setMaintainedInMemoryEnabled in interface IFilePersistenceenabled - true if enable maintain object in memory after save. see
IFilePersistence.maintainInMemorySetup(int)public void maintainInMemorySetup(int maintainedInMemoryQuota)
IFilePersistenceFilePersistence.FilePersistence(String, boolean)maintainInMemorySetup in interface IFilePersistencemaintainedInMemoryQuota - maximum object maintained in memory ( not unload ) after a
savepublic void setAutoSaveEnabled(boolean enabled)
throws FilePersistenceException
IFilePersistenceFilePersistence.FilePersistence(String, boolean)setAutoSaveEnabled in interface IFilePersistenceenabled - true if auto save enabled for exclusive data access session.
see IFilePersistence.autoSaveSetup(int)FilePersistenceExceptionpublic boolean isAutoSaveEnabled()
isAutoSaveEnabled in interface IFilePersistencepublic void autoSaveSetup(int maxInMemoryThreshold)
IFilePersistenceFilePersistence.FilePersistence(String, boolean)autoSaveSetup in interface IFilePersistencemaxInMemoryThreshold - maximum loaded object limit, save done when threshold is reach@Fortest public LinkRecordManager getLinkRecordManager()
@Fortest public ObjectIOManager getObjectIOManager() throws FilePersistenceException
FilePersistenceException@Fortest public DataRecordIdentifier getCurrentDataRecordIdentifierAssociatedToObject(Object object) throws FilePersistenceException
object - object which for the data record identifier is ask forFilePersistenceExceptionpublic Object createObjectReadingInStoreOrGetExisting(DataRecordIdentifier dataRecordIdentifier) throws FilePersistenceException, FilePersistenceClassNotFoundException, FilePersistenceInvalidClassException, FilePersistenceDataCorruptedException, FilePersistenceNotSerializableException
public ClassInfo knownAsNotExisting(String className) throws FilePersistenceClassNotFoundException, FilePersistenceException
IFilePersistenceknownAsNotExisting in interface IFilePersistenceclassName - the class nameFilePersistenceClassNotFoundExceptionFilePersistenceExceptionpublic Class<?> classOfObject(Object object) throws FilePersistenceException
classOfObject in interface IFilePersistenceFilePersistenceExceptionpublic ClassInfo classInfoOfObject(Object object) throws FilePersistenceException
classInfoOfObject in interface IFilePersistenceFilePersistenceException@Fortest public IHeapDataManager getDataManager() throws FilePersistenceException
FilePersistenceExceptionpublic void usedForClassNameManagement(Set<DataRecordIdentifier> setToUpdate) throws FilePersistenceException
usedForClassNameManagement in interface IFilePersistenceFilePersistenceException@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.