Package one.microstream.storage.types
Class StorageFile.Abstract
java.lang.Object
one.microstream.storage.types.StorageFile.Abstract
- All Implemented Interfaces:
StorageFile
- Direct Known Subclasses:
StorageChannelFile.Abstract,StorageLiveFile.Abstract,StorageLockFile.Default
- Enclosing interface:
- StorageFile
public abstract static class StorageFile.Abstract extends Object implements StorageFile
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageFile
StorageFile.Abstract -
Constructor Summary
Constructors Constructor Description Abstract() -
Method Summary
Modifier and Type Method Description booleanclose()longcopyFrom(AReadableFile source)longcopyFrom(AReadableFile source, long sourcePosition)longcopyFrom(AReadableFile source, long sourcePosition, long length)longcopyTo(AWritableFile target)longcopyTo(AWritableFile target, long sourcePosition)longcopyTo(AWritableFile target, long sourcePosition, long length)longcopyTo(StorageFile target)longcopyTo(StorageFile target, long sourcePosition)longcopyTo(StorageFile target, long sourcePosition, long length)booleandelete()booleanexists()AFilefile()booleanisOpen()voidmoveTo(AWritableFile target)longreadBytes(ByteBuffer targetBuffer)longreadBytes(ByteBuffer targetBuffer, long position)longreadBytes(ByteBuffer targetBuffer, long position, long length)longreadBytes(BufferProvider bufferProvider)longreadBytes(BufferProvider bufferProvider, long position)longreadBytes(BufferProvider bufferProvider, long position, long length)longsize()StringtoString()voidtruncate(long newLength)longwriteBytes(Iterable<? extends ByteBuffer> buffers)
-
Constructor Details
-
Abstract
public Abstract()
-
-
Method Details
-
file
- Specified by:
filein interfaceStorageFile
-
size
public final long size()- Specified by:
sizein interfaceStorageFile
-
exists
public final boolean exists()- Specified by:
existsin interfaceStorageFile
-
readBytes
- Specified by:
readBytesin interfaceStorageFile
-
readBytes
- Specified by:
readBytesin interfaceStorageFile
-
readBytes
- Specified by:
readBytesin interfaceStorageFile
-
readBytes
- Specified by:
readBytesin interfaceStorageFile
-
readBytes
- Specified by:
readBytesin interfaceStorageFile
-
readBytes
- Specified by:
readBytesin interfaceStorageFile
-
writeBytes
- Specified by:
writeBytesin interfaceStorageFile
-
copyTo
- Specified by:
copyToin interfaceStorageFile
-
copyTo
- Specified by:
copyToin interfaceStorageFile
-
copyTo
- Specified by:
copyToin interfaceStorageFile
-
copyTo
- Specified by:
copyToin interfaceStorageFile
-
copyTo
- Specified by:
copyToin interfaceStorageFile
-
copyTo
- Specified by:
copyToin interfaceStorageFile
-
copyFrom
- Specified by:
copyFromin interfaceStorageFile
-
copyFrom
- Specified by:
copyFromin interfaceStorageFile
-
copyFrom
- Specified by:
copyFromin interfaceStorageFile
-
truncate
public final void truncate(long newLength) -
delete
public final boolean delete()- Specified by:
deletein interfaceStorageFile
-
moveTo
- Specified by:
moveToin interfaceStorageFile
-
isOpen
public boolean isOpen() -
close
public boolean close() -
toString
-