Return type | Name and parameters |
---|---|
static String
|
dumpAll()
Dump the thread dump of all threads |
static Thread
|
start(Closure closure)
Start a Thread with the given closure as a Runnable instance. |
static Thread
|
start(String name, Closure closure)
Start a Thread with a given name and the given closure as a Runnable instance. |
static Thread
|
startDaemon(Closure closure)
Start a daemon Thread with the given closure as a Runnable instance. |
static Thread
|
startDaemon(String name, Closure closure)
Start a daemon Thread with a given name and the given closure as a Runnable instance. |
addShutdownHook
, any
, any
, asBoolean
, asType
, collect
, collect
, collect
, dump
, each
, eachMatch
, eachMatch
, eachWithIndex
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, iterator
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, split
, sprintf
, sprintf
, stream
, tap
, toString
, use
, use
, use
, with
, with
, withCloseable
, withStream
, withTraits
Dump the thread dump of all threads
Start a Thread with the given closure as a Runnable instance.
closure
- the Runnable closureStart a Thread with a given name and the given closure as a Runnable instance.
name
- the name to give the threadclosure
- the Runnable closureStart a daemon Thread with the given closure as a Runnable instance.
closure
- the Runnable closure