Package one.microstream.afs.types
Interface AIoHandler
- All Superinterfaces:
WriteController
- All Known Subinterfaces:
NioIoHandler,SqlIoHandler
- All Known Implementing Classes:
AIoHandler.Abstract,NioIoHandler.Default,SqlIoHandler.Default
public interface AIoHandler extends WriteController
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAIoHandler.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.types.WriteController
WriteController.Disabled, WriteController.Enabled -
Method Summary
Modifier 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)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)longwriteBytes(AWritableFile targetFile, Iterable<? extends ByteBuffer> sourceBuffers)Methods inherited from interface one.microstream.afs.types.WriteController
isWritable, validateIsWritable
-
Method Details
-
isHandledItem
-
isHandledFile
-
isHandledDirectory
-
isHandledReadableFile
-
isHandledWritableFile
-
validateHandledFile
-
validateHandledDirectory
-
validateHandledReadableFile
-
validateHandledWritableFile
-
size
-
exists
-
exists
-
create
-
create
-
ensureExists
-
ensureExists
-
inventorize
-
isOpen
-
openReading
-
openWriting
-
close
-
readBytes
-
readBytes
-
readBytes
-
readBytes
-
readBytes
-
readBytes
-
readBytes
-
readBytes
-
readBytes
long readBytes(AReadableFile sourceFile, BufferProvider bufferProvider, long position, long length) -
copyTo
-
copyTo
-
copyTo
-
copyFrom
-
copyFrom
-
copyFrom
-
writeBytes
-
moveFile
-
deleteFile
-
truncate
-
listItems
-
listDirectories
-
listFiles
-