Thread

Thread

package java-lang

implements Runnable

extended by Reference_ReferenceHandler

Available on java

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

checkAccess ():Void

countStackFrames ():Int

destroy ():Void

getContextClassLoader ():ClassLoader

getId ():Int64

getName ():String

getPriority ():Int

getStackTrace ():NativeArray<StackTraceElement>

getState ():Thread_State

getThreadGroup ():ThreadGroup

getUncaughtExceptionHandler ():Thread_UncaughtExceptionHandler

interrupt ():Void

isAlive ():Bool

isDaemon ():Bool

isInterrupted ():Bool

join ():Void

join (param1:Int64):Void

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

resume ():Void

run ():Void

setContextClassLoader (param1:ClassLoader):Void

setDaemon (param1:Bool):Void

setName (param1:String):Void

setPriority (param1:Int):Void

setUncaughtExceptionHandler (param1:Thread_UncaughtExceptionHandler):Void

start ():Void

stop (param1:Throwable):Void

stop ():Void

suspend ():Void

toString ():String

Static variables

static read only MAX_PRIORITY:Int

static read only MIN_PRIORITY:Int

static read only NORM_PRIORITY:Int

Static methods

static activeCount ():Int

static currentThread ():Thread

static dumpStack ():Void

static enumerate (param1:NativeArray<Thread>):Int

static getAllStackTraces ():Map<Thread, NativeArray<StackTraceElement>>

static getDefaultUncaughtExceptionHandler ():Thread_UncaughtExceptionHandler

static holdsLock (param1:Dynamic):Bool

static interrupted ():Bool

static setDefaultUncaughtExceptionHandler (param1:Thread_UncaughtExceptionHandler):Void

static sleep (param1:Int64, param2:Int):Void

static sleep (param1:Int64):Void

static yield ():Void

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部