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 byte
entryLengthFileCreation()
static byte
entryLengthFileDeletion()
static byte
entryLengthFileTruncation()
static byte
entryLengthStore()
static byte
entryLengthTransfer()
static byte
getEntryLength(long address)
static long
getEntryTimestamp(long address)
static byte
getEntryType(long address)
static long
getFileLength(long address)
static long
getFileNumber(long address)
static long
getSpecialOffset(long address)
static void
initializeEntry(long address, byte length, byte type)
static void
initializeEntryFileCreation(long address)
static void
initializeEntryFileDeletion(long address)
static void
initializeEntryFileTruncation(long address)
static void
initializeEntryStore(long address)
static void
initializeEntryTransfer(long address)
static StorageTransactionsEntryType
mapEntryType(byte entryTypeKey)
static VarString
parseFile(AFile file)
static VarString
parseFile(AFile file, VarString vs)
static VarString
parseFile(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 StorageTransactionsEntryType
resolveEntryType(long address)
static void
setEntryCommon(long address, long fileLength, long timestamp)
static void
setEntryFileCreation(long address, long fileLength, long timestamp, long fileNumber)
static void
setEntryFileDeletion(long address, long fileLength, long timestamp, long fileNumber)
static void
setEntryFileTruncation(long address, long fileLength, long timestamp, long fileNumber, long oldLength)
static void
setEntryStore(long address, long fileLength, long timestamp)
static void
setEntryTransfer(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
-