Package one.microstream.storage.types
Interface StorageFile
- All Known Subinterfaces:
StorageBackupableFile
,StorageBackupChannelFile
,StorageBackupDataFile
,StorageBackupFile
,StorageBackupTransactionsFile
,StorageChannelFile
,StorageClosableFile
,StorageCreatableFile
,StorageDataFile
,StorageDataInventoryFile
,StorageImportSourceFile
,StorageLiveChannelFile<F>
,StorageLiveDataFile
,StorageLiveFile<S>
,StorageLiveTransactionsFile
,StorageLockFile
,StorageTransactionsFile
,StorageTruncatableChannelFile
- All Known Implementing Classes:
StorageBackupDataFile.Default
,StorageBackupTransactionsFile.Default
,StorageChannelFile.Abstract
,StorageDataFile.Abstract
,StorageDataInventoryFile.Default
,StorageFile.Abstract
,StorageLiveDataFile.Default
,StorageLiveFile.Abstract
,StorageLiveTransactionsFile.Default
,StorageLockFile.Default
,StorageRequestTaskImportData.SourceFileSlice
public interface StorageFile
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageFile.Abstract
-
Method Summary
Modifier and Type Method Description static VarString
assembleNameAndSize(VarString vs, StorageFile file)
long
copyFrom(AReadableFile source)
long
copyFrom(AReadableFile source, long sourcePosition)
long
copyFrom(AReadableFile source, long sourcePosition, long length)
long
copyTo(AWritableFile target)
long
copyTo(AWritableFile target, long sourcePosition)
long
copyTo(AWritableFile target, long sourcePosition, long length)
long
copyTo(StorageFile target)
long
copyTo(StorageFile target, long sourcePosition)
long
copyTo(StorageFile target, long sourcePosition, long length)
boolean
delete()
boolean
exists()
AFile
file()
default String
identifier()
void
moveTo(AWritableFile target)
long
readBytes(ByteBuffer targetBuffer)
long
readBytes(ByteBuffer targetBuffer, long position)
long
readBytes(ByteBuffer targetBuffer, long position, long length)
long
readBytes(BufferProvider bufferProvider)
long
readBytes(BufferProvider bufferProvider, long position)
long
readBytes(BufferProvider bufferProvider, long position, long length)
long
size()
long
writeBytes(Iterable<? extends ByteBuffer> buffers)