rd-core
2023.2.3
rd-core
/
com.jetbrains.rd.util.threading
/
SingleThreadSchedulerBase
Single
Thread
Scheduler
Base
abstract
class
SingleThreadSchedulerBase
(
val
name
:
String
)
:
IScheduler
Content copied to clipboard
Constructors
Functions
Properties
Inheritors
Constructors
Single
Thread
Scheduler
Base
Link copied to clipboard
fun
SingleThreadSchedulerBase
(
name
:
String
)
Content copied to clipboard
Functions
assert
Thread
Link copied to clipboard
open
fun
assertThread
(
debugInfo
:
Any
?
=
null
)
Content copied to clipboard
flush
Link copied to clipboard
open
override
fun
flush
(
)
Content copied to clipboard
invoke
Or
Queue
Link copied to clipboard
open
fun
invokeOrQueue
(
action
:
(
)
->
Unit
)
Content copied to clipboard
on
Exception
Link copied to clipboard
abstract
fun
onException
(
ex
:
Throwable
)
Content copied to clipboard
queue
Link copied to clipboard
open
override
fun
queue
(
action
:
(
)
->
Unit
)
Content copied to clipboard
Queues the execution of the given
action
.
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Content copied to clipboard
Properties
executor
Link copied to clipboard
val
executor
:
ThreadPoolExecutor
Content copied to clipboard
is
Active
Link copied to clipboard
open
override
val
isActive
:
Boolean
Content copied to clipboard
name
Link copied to clipboard
val
name
:
String
Content copied to clipboard
out
Of
Order
Execution
Link copied to clipboard
open
val
outOfOrderExecution
:
Boolean
Content copied to clipboard
tasks
In
Queue
Link copied to clipboard
val
tasksInQueue
:
AtomicInteger
Content copied to clipboard
Inheritors
SingleThreadScheduler
Link copied to clipboard
TestSingleThreadScheduler
Link copied to clipboard