NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL Common
/
xyz.noisif.nsl.common.util.thread
/
TaskExecutor
Task
Executor
open
class
TaskExecutor
:
Executor
,
Closeable
Members
Constructors
Task
Executor
Link copied to clipboard
private
constructor
(
name
:
String
,
timeout
:
Long
,
unit
:
TimeUnit
)
Properties
delegate
Link copied to clipboard
val
delegate
:
ExecutorService
LOG
Link copied to clipboard
private
val
LOG
:
Logger
name
Link copied to clipboard
private
val
name
:
String
timeout
Link copied to clipboard
private
val
timeout
:
Long
unit
Link copied to clipboard
private
val
unit
:
TimeUnit
Functions
close
Link copied to clipboard
open
fun
close
(
)
create
Link copied to clipboard
open
fun
create
(
name
:
String
,
timeout
:
Duration
)
:
TaskExecutor
create
Default
Link copied to clipboard
open
fun
createDefault
(
name
:
String
)
:
TaskExecutor
execute
Link copied to clipboard
open
fun
execute
(
@
NonNull
command
:
@
NonNull
Runnable
)