Package one.microstream.afs
Interface AIoHandler
- All Superinterfaces:
WriteController
- All Known Subinterfaces:
BlobStoreIoHandler
,NioIoHandler
,SqlIoHandler
- All Known Implementing Classes:
AIoHandler.Abstract
,BlobStoreIoHandler.Default
,NioIoHandler.Default
,SqlIoHandler.Default
public interface AIoHandler extends WriteController
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AIoHandler.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.WriteController
WriteController.Disabled, WriteController.Enabled
-
Method Summary
Modifier and Type Method Description boolean
close(AReadableFile file)
long
copyFrom(AReadableFile source, long sourcePosition, long length, AWritableFile targetSubject)
long
copyFrom(AReadableFile source, long sourcePosition, AWritableFile targetSubject)
long
copyFrom(AReadableFile source, AWritableFile targetSubject)
long
copyTo(AReadableFile sourceSubject, long sourcePosition, long length, AWritableFile target)
long
copyTo(AReadableFile sourceSubject, long sourcePosition, AWritableFile target)
long
copyTo(AReadableFile sourceSubject, AWritableFile target)
void
create(ADirectory directory)
void
create(AWritableFile file)
boolean
deleteFile(AWritableFile file)
boolean
ensureExists(ADirectory directory)
boolean
ensureExists(AWritableFile file)
boolean
exists(ADirectory directory)
boolean
exists(AFile file)
void
inventorize(ADirectory directory)
boolean
isHandledDirectory(ADirectory directory)
boolean
isHandledFile(AFile file)
boolean
isHandledItem(AItem item)
boolean
isHandledReadableFile(AReadableFile file)
boolean
isHandledWritableFile(AWritableFile file)
boolean
isOpen(AReadableFile file)
XGettingEnum<String>
listDirectories(ADirectory parent)
XGettingEnum<String>
listFiles(ADirectory parent)
XGettingEnum<String>
listItems(ADirectory parent)
void
moveFile(AWritableFile sourceFile, AWritableFile targetFile)
boolean
openReading(AReadableFile file)
boolean
openWriting(AWritableFile file)
ByteBuffer
readBytes(AReadableFile sourceFile)
ByteBuffer
readBytes(AReadableFile sourceFile, long position)
ByteBuffer
readBytes(AReadableFile sourceFile, long position, long length)
long
readBytes(AReadableFile sourceFile, ByteBuffer targetBuffer)
long
readBytes(AReadableFile sourceFile, ByteBuffer targetBuffer, long position)
long
readBytes(AReadableFile sourceFile, ByteBuffer targetBuffer, long position, long length)
long
readBytes(AReadableFile sourceFile, BufferProvider bufferProvider)
long
readBytes(AReadableFile sourceFile, BufferProvider bufferProvider, long position)
long
readBytes(AReadableFile sourceFile, BufferProvider bufferProvider, long position, long length)
long
size(AFile file)
void
truncate(AWritableFile file, long newSize)
void
validateHandledDirectory(ADirectory directory)
void
validateHandledFile(AFile file)
void
validateHandledReadableFile(AReadableFile file)
void
validateHandledWritableFile(AWritableFile file)
long
writeBytes(AWritableFile targetFile, Iterable<? extends ByteBuffer> sourceBuffers)
-
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
-