@NotStorableClass @StorableAccess public abstract class AbstractInserter extends AbstractPerfService
| Modifier and Type | Field and Description |
|---|---|
static File |
MEM_BIN |
BATCH_SIZE, byItemDuration, byItemIndex, byItemMem, byItemMem2, CRASH_SAFE_MODE, DURATION_BIN, filePersistence, ITEM_LIST, ITEM_TEMPLATE_LIST, logger, NUMBER_OF_ITEM, NUMBER_OF_PAGE, PAGE_SIZE, RUNTIME_DIR, useCache| Constructor and Description |
|---|
AbstractInserter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearDirectory(String pathName) |
protected void |
close() |
protected abstract void |
consistencyCheck() |
protected void |
export(String directoryName) |
protected void |
run(String insertLogFilePath,
String pathName,
IHeapDataManager dataManager,
Boolean useCache,
int numberOfItem) |
getDataManager, getItemList, getItemTemplateList, initialize, initializeByItemDuration, initializeDirectory, initializeDirectorypublic static final File MEM_BIN
protected void clearDirectory(String pathName)
protected void run(String insertLogFilePath, String pathName, IHeapDataManager dataManager, Boolean useCache, int numberOfItem) throws FilePersistenceException, StoreException, FilePersistenceClassNotFoundException, FilePersistenceInvalidClassException, FilePersistenceDataCorruptedException, FilePersistenceNotSerializableException, MemInspectorException, IOException, SecurityException, IllegalArgumentException, NoSuchFieldException, IllegalAccessException, FilePersistenceTooBigForSerializationException, HeapException
FilePersistenceExceptionStoreExceptionFilePersistenceClassNotFoundExceptionFilePersistenceInvalidClassExceptionFilePersistenceDataCorruptedExceptionFilePersistenceNotSerializableExceptionMemInspectorExceptionIOExceptionSecurityExceptionIllegalArgumentExceptionNoSuchFieldExceptionIllegalAccessExceptionFilePersistenceTooBigForSerializationExceptionHeapExceptionprotected abstract void consistencyCheck()
throws HeapException,
FilePersistenceException
protected void close()
throws FilePersistenceException
FilePersistenceExceptionprotected void export(String directoryName) throws FilePersistenceException, FilePersistenceClassNotFoundException, FilePersistenceInvalidClassException, FilePersistenceDataCorruptedException, FilePersistenceNotSerializableException, FilePersistenceTooBigForSerializationException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.