public abstract static class StorageFile.Abstract extends Object implements StorageFile
StorageFile.Abstract| Modifier | Constructor and Description |
|---|---|
protected |
Abstract(one.microstream.afs.types.AFile file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
close() |
long |
copyFrom(one.microstream.afs.types.AReadableFile source) |
long |
copyFrom(one.microstream.afs.types.AReadableFile source,
long sourcePosition) |
long |
copyFrom(one.microstream.afs.types.AReadableFile source,
long sourcePosition,
long length) |
long |
copyTo(one.microstream.afs.types.AWritableFile target) |
long |
copyTo(one.microstream.afs.types.AWritableFile target,
long sourcePosition) |
long |
copyTo(one.microstream.afs.types.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() |
protected one.microstream.afs.types.AReadableFile |
ensureReadable() |
protected one.microstream.afs.types.AWritableFile |
ensureWritable() |
boolean |
exists() |
one.microstream.afs.types.AFile |
file() |
protected boolean |
internalOpenReading() |
protected boolean |
internalOpenWriting() |
boolean |
isOpen() |
void |
moveTo(one.microstream.afs.types.AWritableFile target) |
long |
readBytes(one.microstream.io.BufferProvider bufferProvider) |
long |
readBytes(one.microstream.io.BufferProvider bufferProvider,
long position) |
long |
readBytes(one.microstream.io.BufferProvider bufferProvider,
long position,
long length) |
long |
readBytes(ByteBuffer targetBuffer) |
long |
readBytes(ByteBuffer targetBuffer,
long position) |
long |
readBytes(ByteBuffer targetBuffer,
long position,
long length) |
long |
size() |
String |
toString() |
void |
truncate(long newLength) |
long |
writeBytes(Iterable<? extends ByteBuffer> buffers) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitassembleNameAndSize, identifierpublic one.microstream.afs.types.AFile file()
file in interface StorageFilepublic final long size()
size in interface StorageFilepublic final boolean exists()
exists in interface StorageFilepublic final long readBytes(ByteBuffer targetBuffer)
readBytes in interface StorageFilepublic final long readBytes(ByteBuffer targetBuffer, long position)
readBytes in interface StorageFilepublic final long readBytes(ByteBuffer targetBuffer, long position, long length)
readBytes in interface StorageFilepublic final long readBytes(one.microstream.io.BufferProvider bufferProvider)
readBytes in interface StorageFilepublic final long readBytes(one.microstream.io.BufferProvider bufferProvider,
long position)
readBytes in interface StorageFilepublic final long readBytes(one.microstream.io.BufferProvider bufferProvider,
long position,
long length)
readBytes in interface StorageFilepublic final long writeBytes(Iterable<? extends ByteBuffer> buffers)
writeBytes in interface StorageFilepublic final long copyTo(StorageFile target)
copyTo in interface StorageFilepublic final long copyTo(StorageFile target, long sourcePosition)
copyTo in interface StorageFilepublic final long copyTo(StorageFile target, long sourcePosition, long length)
copyTo in interface StorageFilepublic final long copyTo(one.microstream.afs.types.AWritableFile target)
copyTo in interface StorageFilepublic final long copyTo(one.microstream.afs.types.AWritableFile target,
long sourcePosition)
copyTo in interface StorageFilepublic final long copyTo(one.microstream.afs.types.AWritableFile target,
long sourcePosition,
long length)
copyTo in interface StorageFilepublic final long copyFrom(one.microstream.afs.types.AReadableFile source)
copyFrom in interface StorageFilepublic final long copyFrom(one.microstream.afs.types.AReadableFile source,
long sourcePosition)
copyFrom in interface StorageFilepublic final long copyFrom(one.microstream.afs.types.AReadableFile source,
long sourcePosition,
long length)
copyFrom in interface StorageFilepublic final void truncate(long newLength)
public final boolean delete()
delete in interface StorageFilepublic final void moveTo(one.microstream.afs.types.AWritableFile target)
moveTo in interface StorageFileprotected one.microstream.afs.types.AReadableFile ensureReadable()
protected one.microstream.afs.types.AWritableFile ensureWritable()
public boolean isOpen()
public boolean close()
protected boolean internalOpenWriting()
protected boolean internalOpenReading()
Copyright © 2022 MicroStream Software. All rights reserved.