public static final class StorageFileWriterBackupping.Default extends Object implements StorageFileWriter
StorageFileWriter.Default, StorageFileWriter.Provider| Modifier and Type | Method and Description |
|---|---|
void |
delete(StorageLiveDataFile file,
StorageWriteController writeController,
StorageFileProvider fileProvider) |
void |
truncate(StorageLiveChannelFile<?> file,
long newLength,
StorageFileProvider fileProvider) |
long |
writeImport(StorageFile sourceFile,
long sourceOffset,
long copyLength,
StorageLiveDataFile targetFile)
Logically the same as a store, but technically the same as a transfer with an external source file.
|
long |
writeStore(StorageLiveDataFile targetFile,
Iterable<? extends ByteBuffer> byteBuffers) |
long |
writeTransactionEntryCreate(StorageLiveTransactionsFile transactionFile,
Iterable<? extends ByteBuffer> byteBuffers,
StorageLiveDataFile dataFile) |
long |
writeTransactionEntryDelete(StorageLiveTransactionsFile transactionFile,
Iterable<? extends ByteBuffer> byteBuffers,
StorageLiveDataFile dataFile) |
long |
writeTransactionEntryStore(StorageLiveTransactionsFile transactionFile,
Iterable<? extends ByteBuffer> byteBuffers,
StorageLiveDataFile dataFile,
long dataFileOffset,
long storeLength) |
long |
writeTransactionEntryTransfer(StorageLiveTransactionsFile transactionFile,
Iterable<? extends ByteBuffer> byteBuffers,
StorageLiveDataFile dataFile,
long dataFileOffset,
long storeLength) |
long |
writeTransactionEntryTruncate(StorageLiveTransactionsFile transactionFile,
Iterable<? extends ByteBuffer> byteBuffers,
StorageLiveDataFile file,
long newFileLength) |
long |
writeTransfer(StorageLiveDataFile sourceFile,
long sourceOffset,
long length,
StorageLiveDataFile targetFile) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateFileFullCopy, deleteFile, rescueFromDeletion, truncateFile, validateIoByteCount, writepublic final long writeStore(StorageLiveDataFile targetFile, Iterable<? extends ByteBuffer> byteBuffers)
writeStore in interface StorageFileWriterpublic final long writeImport(StorageFile sourceFile, long sourceOffset, long copyLength, StorageLiveDataFile targetFile)
StorageFileWriterwriteImport in interface StorageFileWritersourceFile - the source filesourceOffset - the source offsetcopyLength - the copy lengthtargetFile - the target filepublic final long writeTransfer(StorageLiveDataFile sourceFile, long sourceOffset, long length, StorageLiveDataFile targetFile)
writeTransfer in interface StorageFileWriterpublic final long writeTransactionEntryCreate(StorageLiveTransactionsFile transactionFile, Iterable<? extends ByteBuffer> byteBuffers, StorageLiveDataFile dataFile)
writeTransactionEntryCreate in interface StorageFileWriterpublic final long writeTransactionEntryStore(StorageLiveTransactionsFile transactionFile, Iterable<? extends ByteBuffer> byteBuffers, StorageLiveDataFile dataFile, long dataFileOffset, long storeLength)
writeTransactionEntryStore in interface StorageFileWriterpublic final long writeTransactionEntryTransfer(StorageLiveTransactionsFile transactionFile, Iterable<? extends ByteBuffer> byteBuffers, StorageLiveDataFile dataFile, long dataFileOffset, long storeLength)
writeTransactionEntryTransfer in interface StorageFileWriterpublic final long writeTransactionEntryDelete(StorageLiveTransactionsFile transactionFile, Iterable<? extends ByteBuffer> byteBuffers, StorageLiveDataFile dataFile)
writeTransactionEntryDelete in interface StorageFileWriterpublic final long writeTransactionEntryTruncate(StorageLiveTransactionsFile transactionFile, Iterable<? extends ByteBuffer> byteBuffers, StorageLiveDataFile file, long newFileLength)
writeTransactionEntryTruncate in interface StorageFileWriterpublic final void truncate(StorageLiveChannelFile<?> file, long newLength, StorageFileProvider fileProvider)
truncate in interface StorageFileWriterpublic void delete(StorageLiveDataFile file, StorageWriteController writeController, StorageFileProvider fileProvider)
delete in interface StorageFileWriterCopyright © 2022 MicroStream Software. All rights reserved.