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 Summary
Constructors Constructor Description Logic() -
Method Summary
Modifier 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
-
Logic
public Logic()
-
-
Method Details
-
entryLengthFileCreation
public static byte entryLengthFileCreation() -
entryLengthStore
public static byte entryLengthStore() -
entryLengthTransfer
public static byte entryLengthTransfer() -
entryLengthFileTruncation
public static byte entryLengthFileTruncation() -
entryLengthFileDeletion
public static byte entryLengthFileDeletion() -
initializeEntry
public static void initializeEntry(long address, byte length, byte type) -
initializeEntryFileCreation
public static void initializeEntryFileCreation(long address) -
initializeEntryStore
public static void initializeEntryStore(long address) -
initializeEntryTransfer
public static void initializeEntryTransfer(long address) -
initializeEntryFileDeletion
public static void initializeEntryFileDeletion(long address) -
initializeEntryFileTruncation
public static void initializeEntryFileTruncation(long address) -
setEntryCommon
public static void setEntryCommon(long address, long fileLength, long timestamp) -
setEntryFileCreation
public static void setEntryFileCreation(long address, long fileLength, long timestamp, long fileNumber) -
getEntryLength
public static byte getEntryLength(long address) -
mapEntryType
-
getEntryType
public static byte getEntryType(long address) -
resolveEntryType
-
getEntryTimestamp
public static long getEntryTimestamp(long address) -
getFileLength
public static long getFileLength(long address) -
getFileNumber
public static long getFileNumber(long address) -
getSpecialOffset
public static long getSpecialOffset(long address) -
setEntryStore
public static void setEntryStore(long address, long fileLength, long timestamp) -
setEntryTransfer
public static void setEntryTransfer(long address, long fileLength, long timestamp, long sourcefileNumber, long sourcefileOffset) -
setEntryFileDeletion
public static void setEntryFileDeletion(long address, long fileLength, long timestamp, long fileNumber) -
setEntryFileTruncation
public static void setEntryFileTruncation(long address, long fileLength, long timestamp, long fileNumber, long oldLength) -
processInputFile
public static <P extends StorageTransactionsAnalysis.EntryIterator> P processInputFile(AReadableFile file, P entryProcessor) -
processInputFile
public static <P extends StorageTransactionsAnalysis.EntryIterator> P processInputFile(AReadableFile file, long startPosition, long length, P entryProcessor) -
parseFile
-
parseFile
-
parseFile
- Throws:
IOException
-