Package io.activej.async.file
Class ExecutorFileService
java.lang.Object
io.activej.reactor.AbstractReactive
io.activej.async.file.ExecutorFileService
- All Implemented Interfaces:
IFileService,Reactive
-
Field Summary
Fields inherited from class io.activej.reactor.AbstractReactive
reactor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(FileChannel channel, long position, byte[] array, int offset, int size) write(FileChannel channel, long position, byte[] array, int offset, int size) Methods inherited from class io.activej.reactor.AbstractReactive
getReactor
-
Constructor Details
-
ExecutorFileService
-
-
Method Details
-
read
public Promise<Integer> read(FileChannel channel, long position, byte[] array, int offset, int size) - Specified by:
readin interfaceIFileService
-
write
public Promise<Integer> write(FileChannel channel, long position, byte[] array, int offset, int size) - Specified by:
writein interfaceIFileService
-