W3cubDocs

/Haxe Java

ExecutorService

package java.util.concurrent

extends Executor

@:abstract@:libType@:javaNative@:native("java.util.concurrent.ExecutorService")@:javaCanonical("java.util.concurrent","ExecutorService") Available on java

Methods

@:overload @:throws("java.lang.InterruptedException") awaitTermination (param1:Int64, param2:TimeUnit):Bool

@:overload execute (param1:Runnable):Void

@:overload @:throws("java.lang.InterruptedException") invokeAll<T> (param1:Collection<Callable<T>>, param2:Int64, param3:TimeUnit):List<Future<T>>

@:overload @:throws("java.lang.InterruptedException") invokeAll<T> (param1:Collection<Callable<T>>):List<Future<T>>

@:overload @:throws("java.util.concurrent.TimeoutException") @:throws("java.util.concurrent.ExecutionException") @:throws("java.lang.InterruptedException") invokeAny<T> (param1:Collection<Callable<T>>, param2:Int64, param3:TimeUnit):T

@:overload @:throws("java.util.concurrent.ExecutionException") @:throws("java.lang.InterruptedException") invokeAny<T> (param1:Collection<Callable<T>>):T

@:overload isShutdown ():Bool

@:overload isTerminated ():Bool

@:overload shutdown ():Void

@:overload shutdownNow ():List<Runnable>

@:overload submit (param1:Runnable):Future<Dynamic>

@:overload submit<T> (param1:Callable<T>):Future<T>

@:overload submit<T> (param1:Runnable, param2:T ):Future<T>

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/util/concurrent/ExecutorService.html