W3cubDocs

/Haxe Java

Thread

package java.lang

implements Runnable

extended by Reference_ReferenceHandler

Available on java

Static variables

staticread onlyMAX_PRIORITY:Int

staticread onlyMIN_PRIORITY:Int

staticread onlyNORM_PRIORITY:Int

Static methods

staticactiveCount():Int

staticcurrentThread():Thread

staticdumpStack():Void

staticenumerate(param1:NativeArray<Thread>):Int

staticgetAllStackTraces():Map<Thread, NativeArray<StackTraceElement>>

staticgetDefaultUncaughtExceptionHandler():Thread_UncaughtExceptionHandler

staticholdsLock(param1:Dynamic):Bool

staticinterrupted():Bool

staticsetDefaultUncaughtExceptionHandler(param1:Thread_UncaughtExceptionHandler):Void

staticsleep(param1:Int64, param2:Int):Void

staticsleep(param1:Int64):Void

staticyield():Void

Constructor

new(param1:ThreadGroup, param2:Runnable, param3:String, param4:Int64)

new()

new(param1:Runnable)

new(param1:ThreadGroup, param2:Runnable)

new(param1:String)

new(param1:ThreadGroup, param2:String)

new(param1:Runnable, param2:String)

new(param1:ThreadGroup, param2:Runnable, param3:String)

Methods

finalcheckAccess():Void

countStackFrames():Int

Deprecated:

destroy():Void

Deprecated:

getContextClassLoader():ClassLoader

getId():Int64

finalgetName():String

finalgetPriority():Int

getStackTrace():NativeArray<StackTraceElement>

getState():Thread_State

finalgetThreadGroup():ThreadGroup

getUncaughtExceptionHandler():Thread_UncaughtExceptionHandler

interrupt():Void

finalisAlive():Bool

finalisDaemon():Bool

isInterrupted():Bool

finaljoin():Void

finaljoin(param1:Int64):Void

finaljoin(param1:Int64, param2:Int):Void

finalresume():Void

Deprecated:

run():Void

setContextClassLoader(param1:ClassLoader):Void

finalsetDaemon(param1:Bool):Void

finalsetName(param1:String):Void

finalsetPriority(param1:Int):Void

setUncaughtExceptionHandler(param1:Thread_UncaughtExceptionHandler):Void

start():Void

finalstop(param1:Throwable):Void

finalstop():Void

Deprecated:

finalsuspend():Void

Deprecated:

toString():String

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