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
-
-
Method Summary
All Methods Static Methods Concrete Methods 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 one.microstream.chars.VarStringparseFile(one.microstream.afs.types.AFile file)static one.microstream.chars.VarStringparseFile(one.microstream.afs.types.AFile file, one.microstream.chars.VarString vs)static one.microstream.chars.VarStringparseFile(one.microstream.afs.types.AReadableFile file, one.microstream.chars.VarString vs)static <P extends StorageTransactionsAnalysis.EntryIterator>
PprocessInputFile(one.microstream.afs.types.AReadableFile file, long startPosition, long length, P entryProcessor)static <P extends StorageTransactionsAnalysis.EntryIterator>
PprocessInputFile(one.microstream.afs.types.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)
-
-
-
Method Detail
-
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
public static final StorageTransactionsEntryType mapEntryType(byte entryTypeKey)
-
getEntryType
public static byte getEntryType(long address)
-
resolveEntryType
public static StorageTransactionsEntryType resolveEntryType(long address)
-
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(one.microstream.afs.types.AReadableFile file, P entryProcessor)
-
processInputFile
public static <P extends StorageTransactionsAnalysis.EntryIterator> P processInputFile(one.microstream.afs.types.AReadableFile file, long startPosition, long length, P entryProcessor)
-
parseFile
public static one.microstream.chars.VarString parseFile(one.microstream.afs.types.AFile file)
-
parseFile
public static one.microstream.chars.VarString parseFile(one.microstream.afs.types.AFile file, one.microstream.chars.VarString vs)
-
parseFile
public static one.microstream.chars.VarString parseFile(one.microstream.afs.types.AReadableFile file, one.microstream.chars.VarString vs) throws IOException- Throws:
IOException
-
-