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 SummaryNested classes/interfaces inherited from interface one.microstream.storage.types.StorageFileStorageFile.Abstract
- 
Constructor SummaryConstructors Constructor Description Abstract()
- 
Method SummaryModifier 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- 
Abstractpublic Abstract()
 
- 
- 
Method Details- 
file- Specified by:
- filein interface- StorageFile
 
- 
sizepublic final long size()- Specified by:
- sizein interface- StorageFile
 
- 
existspublic final boolean exists()- Specified by:
- existsin interface- StorageFile
 
- 
readBytes- Specified by:
- readBytesin interface- StorageFile
 
- 
readBytes- Specified by:
- readBytesin interface- StorageFile
 
- 
readBytes- Specified by:
- readBytesin interface- StorageFile
 
- 
readBytes- Specified by:
- readBytesin interface- StorageFile
 
- 
readBytes- Specified by:
- readBytesin interface- StorageFile
 
- 
readBytes- Specified by:
- readBytesin interface- StorageFile
 
- 
writeBytes- Specified by:
- writeBytesin interface- StorageFile
 
- 
copyTo- Specified by:
- copyToin interface- StorageFile
 
- 
copyTo- Specified by:
- copyToin interface- StorageFile
 
- 
copyTo- Specified by:
- copyToin interface- StorageFile
 
- 
copyTo- Specified by:
- copyToin interface- StorageFile
 
- 
copyTo- Specified by:
- copyToin interface- StorageFile
 
- 
copyTo- Specified by:
- copyToin interface- StorageFile
 
- 
copyFrom- Specified by:
- copyFromin interface- StorageFile
 
- 
copyFrom- Specified by:
- copyFromin interface- StorageFile
 
- 
copyFrom- Specified by:
- copyFromin interface- StorageFile
 
- 
truncatepublic final void truncate(long newLength)
- 
deletepublic final boolean delete()- Specified by:
- deletein interface- StorageFile
 
- 
moveTo- Specified by:
- moveToin interface- StorageFile
 
- 
isOpenpublic boolean isOpen()
- 
closepublic boolean close()
- 
toString
 
-