Package one.microstream.storage.types
Class StorageTransactionsAnalysis.Logic
java.lang.Object
one.microstream.storage.types.StorageTransactionsAnalysis.Logic
- Enclosing interface:
- StorageTransactionsAnalysis
public static final class StorageTransactionsAnalysis.Logic extends Object
- 
Constructor SummaryConstructors Constructor Description Logic()
- 
Method SummaryModifier and Type Method Description static byteentryLengthFileCreation()static byteentryLengthFileDeletion()static byteentryLengthFileTruncation()static byteentryLengthStore()static byteentryLengthTransfer()static bytegetEntryLength(long address)static longgetEntryTimestamp(long address)static bytegetEntryType(long address)static longgetFileLength(long address)static longgetFileNumber(long address)static longgetSpecialOffset(long address)static voidinitializeEntry(long address, byte length, byte type)static voidinitializeEntryFileCreation(long address)static voidinitializeEntryFileDeletion(long address)static voidinitializeEntryFileTruncation(long address)static voidinitializeEntryStore(long address)static voidinitializeEntryTransfer(long address)static StorageTransactionsEntryTypemapEntryType(byte entryTypeKey)static VarStringparseFile(AFile file)static VarStringparseFile(AFile file, VarString vs)static VarStringparseFile(AReadableFile file, VarString vs)static <P extends StorageTransactionsAnalysis.EntryIterator>
 PprocessInputFile(AReadableFile file, long startPosition, long length, P entryProcessor)static <P extends StorageTransactionsAnalysis.EntryIterator>
 PprocessInputFile(AReadableFile file, P entryProcessor)static StorageTransactionsEntryTyperesolveEntryType(long address)static voidsetEntryCommon(long address, long fileLength, long timestamp)static voidsetEntryFileCreation(long address, long fileLength, long timestamp, long fileNumber)static voidsetEntryFileDeletion(long address, long fileLength, long timestamp, long fileNumber)static voidsetEntryFileTruncation(long address, long fileLength, long timestamp, long fileNumber, long oldLength)static voidsetEntryStore(long address, long fileLength, long timestamp)static voidsetEntryTransfer(long address, long fileLength, long timestamp, long sourcefileNumber, long sourcefileOffset)
- 
Constructor Details- 
Logicpublic Logic()
 
- 
- 
Method Details- 
entryLengthFileCreationpublic static byte entryLengthFileCreation()
- 
entryLengthStorepublic static byte entryLengthStore()
- 
entryLengthTransferpublic static byte entryLengthTransfer()
- 
entryLengthFileTruncationpublic static byte entryLengthFileTruncation()
- 
entryLengthFileDeletionpublic static byte entryLengthFileDeletion()
- 
initializeEntrypublic static void initializeEntry(long address, byte length, byte type)
- 
initializeEntryFileCreationpublic static void initializeEntryFileCreation(long address)
- 
initializeEntryStorepublic static void initializeEntryStore(long address)
- 
initializeEntryTransferpublic static void initializeEntryTransfer(long address)
- 
initializeEntryFileDeletionpublic static void initializeEntryFileDeletion(long address)
- 
initializeEntryFileTruncationpublic static void initializeEntryFileTruncation(long address)
- 
setEntryCommonpublic static void setEntryCommon(long address, long fileLength, long timestamp)
- 
setEntryFileCreationpublic static void setEntryFileCreation(long address, long fileLength, long timestamp, long fileNumber)
- 
getEntryLengthpublic static byte getEntryLength(long address)
- 
mapEntryType
- 
getEntryTypepublic static byte getEntryType(long address)
- 
resolveEntryType
- 
getEntryTimestamppublic static long getEntryTimestamp(long address)
- 
getFileLengthpublic static long getFileLength(long address)
- 
getFileNumberpublic static long getFileNumber(long address)
- 
getSpecialOffsetpublic static long getSpecialOffset(long address)
- 
setEntryStorepublic static void setEntryStore(long address, long fileLength, long timestamp)
- 
setEntryTransferpublic static void setEntryTransfer(long address, long fileLength, long timestamp, long sourcefileNumber, long sourcefileOffset)
- 
setEntryFileDeletionpublic static void setEntryFileDeletion(long address, long fileLength, long timestamp, long fileNumber)
- 
setEntryFileTruncationpublic static void setEntryFileTruncation(long address, long fileLength, long timestamp, long fileNumber, long oldLength)
- 
processInputFilepublic static <P extends StorageTransactionsAnalysis.EntryIterator> P processInputFile(AReadableFile file, P entryProcessor)
- 
processInputFilepublic static <P extends StorageTransactionsAnalysis.EntryIterator> P processInputFile(AReadableFile file, long startPosition, long length, P entryProcessor)
- 
parseFile
- 
parseFile
- 
parseFile- Throws:
- IOException
 
 
-