Package one.microstream.afs
Class AIoHandler.Abstract<FS,DS,I extends AItem,F extends AFile,D extends ADirectory,R extends AReadableFile,W extends AWritableFile>
java.lang.Object
one.microstream.afs.AIoHandler.Abstract<FS,DS,I,F,D,R,W>
- All Implemented Interfaces:
- AIoHandler,- WriteController
- Direct Known Subclasses:
- BlobStoreIoHandler.Default,- NioIoHandler.Default,- SqlIoHandler.Default
- Enclosing interface:
- AIoHandler
public abstract static class AIoHandler.Abstract<FS,DS,I extends AItem,F extends AFile,D extends ADirectory,R extends AReadableFile,W extends AWritableFile> extends Object implements AIoHandler
- 
Nested Class SummaryNested classes/interfaces inherited from interface one.microstream.afs.AIoHandlerAIoHandler.Abstract<FS,DS,I extends AItem,F extends AFile,D extends ADirectory,R extends AReadableFile,W extends AWritableFile>Nested classes/interfaces inherited from interface one.microstream.afs.WriteControllerWriteController.Disabled, WriteController.Enabled
- 
Constructor SummaryConstructors Constructor Description Abstract()
- 
Method SummaryModifier and Type Method Description booleanclose(AReadableFile file)longcopyFrom(AReadableFile source, long sourcePosition, long length, AWritableFile targetSubject)longcopyFrom(AReadableFile source, long sourcePosition, AWritableFile targetSubject)longcopyFrom(AReadableFile source, AWritableFile targetSubject)longcopyTo(AReadableFile sourceSubject, long sourcePosition, long length, AWritableFile target)longcopyTo(AReadableFile sourceSubject, long sourcePosition, AWritableFile target)longcopyTo(AReadableFile sourceSubject, AWritableFile target)voidcreate(ADirectory directory)voidcreate(AWritableFile file)booleandeleteFile(AWritableFile file)booleanensureExists(ADirectory directory)booleanensureExists(AWritableFile file)booleanexists(ADirectory directory)booleanexists(AFile file)voidinventorize(ADirectory directory)booleanisHandledDirectory(ADirectory directory)booleanisHandledFile(AFile file)booleanisHandledItem(AItem item)booleanisHandledReadableFile(AReadableFile file)booleanisHandledWritableFile(AWritableFile file)booleanisOpen(AReadableFile file)booleanisWritable()XGettingEnum<String>listDirectories(ADirectory parent)XGettingEnum<String>listFiles(ADirectory parent)XGettingEnum<String>listItems(ADirectory parent)voidmoveFile(AWritableFile sourceFile, AWritableFile targetFile)booleanopenReading(AReadableFile file)booleanopenWriting(AWritableFile file)ByteBufferreadBytes(AReadableFile sourceFile)ByteBufferreadBytes(AReadableFile sourceFile, long position)ByteBufferreadBytes(AReadableFile sourceFile, long position, long length)longreadBytes(AReadableFile sourceFile, ByteBuffer targetBuffer)longreadBytes(AReadableFile sourceFile, ByteBuffer targetBuffer, long position)longreadBytes(AReadableFile sourceFile, ByteBuffer targetBuffer, long position, long length)longreadBytes(AReadableFile sourceFile, BufferProvider bufferProvider)longreadBytes(AReadableFile sourceFile, BufferProvider bufferProvider, long position)longreadBytes(AReadableFile sourceFile, BufferProvider bufferProvider, long position, long length)longsize(AFile file)voidtruncate(AWritableFile file, long newSize)voidvalidateHandledDirectory(ADirectory directory)voidvalidateHandledFile(AFile file)voidvalidateHandledReadableFile(AReadableFile file)voidvalidateHandledWritableFile(AWritableFile file)voidvalidateIsWritable()longwriteBytes(AWritableFile targetFile, Iterable<? extends ByteBuffer> sourceBuffers)
- 
Constructor Details- 
Abstractpublic Abstract()
 
- 
- 
Method Details- 
validateIsWritablepublic final void validateIsWritable()- Specified by:
- validateIsWritablein interface- WriteController
 
- 
isWritablepublic final boolean isWritable()- Specified by:
- isWritablein interface- WriteController
 
- 
isHandledItem- Specified by:
- isHandledItemin interface- AIoHandler
 
- 
isHandledFile- Specified by:
- isHandledFilein interface- AIoHandler
 
- 
isHandledDirectory- Specified by:
- isHandledDirectoryin interface- AIoHandler
 
- 
isHandledReadableFile- Specified by:
- isHandledReadableFilein interface- AIoHandler
 
- 
isHandledWritableFile- Specified by:
- isHandledWritableFilein interface- AIoHandler
 
- 
validateHandledFile- Specified by:
- validateHandledFilein interface- AIoHandler
 
- 
validateHandledDirectory- Specified by:
- validateHandledDirectoryin interface- AIoHandler
 
- 
validateHandledReadableFile- Specified by:
- validateHandledReadableFilein interface- AIoHandler
 
- 
validateHandledWritableFile- Specified by:
- validateHandledWritableFilein interface- AIoHandler
 
- 
size- Specified by:
- sizein interface- AIoHandler
 
- 
exists- Specified by:
- existsin interface- AIoHandler
 
- 
exists- Specified by:
- existsin interface- AIoHandler
 
- 
listItems- Specified by:
- listItemsin interface- AIoHandler
 
- 
listDirectories- Specified by:
- listDirectoriesin interface- AIoHandler
 
- 
listFiles- Specified by:
- listFilesin interface- AIoHandler
 
- 
inventorize- Specified by:
- inventorizein interface- AIoHandler
 
- 
openReading- Specified by:
- openReadingin interface- AIoHandler
 
- 
isOpen- Specified by:
- isOpenin interface- AIoHandler
 
- 
close- Specified by:
- closein interface- AIoHandler
 
- 
openWriting- Specified by:
- openWritingin interface- AIoHandler
 
- 
create- Specified by:
- createin interface- AIoHandler
 
- 
create- Specified by:
- createin interface- AIoHandler
 
- 
ensureExists- Specified by:
- ensureExistsin interface- AIoHandler
 
- 
ensureExists- Specified by:
- ensureExistsin interface- AIoHandler
 
- 
readBytes- Specified by:
- readBytesin interface- AIoHandler
 
- 
readBytes- Specified by:
- readBytesin interface- AIoHandler
 
- 
readBytes- Specified by:
- readBytesin interface- AIoHandler
 
- 
readBytes- Specified by:
- readBytesin interface- AIoHandler
 
- 
readBytes- Specified by:
- readBytesin interface- AIoHandler
 
- 
readBytespublic long readBytes(AReadableFile sourceFile, ByteBuffer targetBuffer, long position, long length)- Specified by:
- readBytesin interface- AIoHandler
 
- 
readBytes- Specified by:
- readBytesin interface- AIoHandler
 
- 
readBytes- Specified by:
- readBytesin interface- AIoHandler
 
- 
readBytespublic long readBytes(AReadableFile sourceFile, BufferProvider bufferProvider, long position, long length)- Specified by:
- readBytesin interface- AIoHandler
 
- 
copyTo- Specified by:
- copyToin interface- AIoHandler
 
- 
copyTo- Specified by:
- copyToin interface- AIoHandler
 
- 
copyTopublic long copyTo(AReadableFile sourceSubject, long sourcePosition, long length, AWritableFile target)- Specified by:
- copyToin interface- AIoHandler
 
- 
copyFrom- Specified by:
- copyFromin interface- AIoHandler
 
- 
copyFrom- Specified by:
- copyFromin interface- AIoHandler
 
- 
copyFrompublic long copyFrom(AReadableFile source, long sourcePosition, long length, AWritableFile targetSubject)- Specified by:
- copyFromin interface- AIoHandler
 
- 
writeBytes- Specified by:
- writeBytesin interface- AIoHandler
 
- 
moveFile- Specified by:
- moveFilein interface- AIoHandler
 
- 
deleteFile- Specified by:
- deleteFilein interface- AIoHandler
 
- 
truncate- Specified by:
- truncatein interface- AIoHandler
 
 
-