AsynchronousFileChannel

package java.nio.channels

implements AsynchronousChannel

Available on java

Static methods

staticopen(param1:Path, param2:NativeArray<OpenOption>):AsynchronousFileChannel

staticopen(param1:Path, param2:Set<OpenOption>, param3:ExecutorService, param4:NativeArray<FileAttribute<Dynamic>>):AsynchronousFileChannel

Methods

close():Void

force(param1:Bool):Void

isOpen():Bool

finallock():Future<FileLock>

lock<A>(param1:Int64, param2:Int64, param3:Bool, param4:A, param5:CompletionHandler<FileLock, Dynamic>):Void

finallock<A>(param1:A, param2:CompletionHandler<FileLock, Dynamic>):Void

lock(param1:Int64, param2:Int64, param3:Bool):Future<FileLock>

read(param1:ByteBuffer, param2:Int64):Future<Integer>

read<A>(param1:ByteBuffer, param2:Int64, param3:A, param4:CompletionHandler<Integer, Dynamic>):Void

size():Int64

truncate(param1:Int64):AsynchronousFileChannel

finaltryLock():FileLock

tryLock(param1:Int64, param2:Int64, param3:Bool):FileLock

write(param1:ByteBuffer, param2:Int64):Future<Integer>

write<A>(param1:ByteBuffer, param2:Int64, param3:A, param4:CompletionHandler<Integer, Dynamic>):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/nio/channels/AsynchronousFileChannel.html