Semantifyr
Toggle table of contents
0.1.0
java
Target filter
java
Switch theme
Search in API
Skip to content
Semantifyr
lang-ide-common
/
hu.bme.mit.semantifyr.lang.ide.server.concurrent
/
LockingRequestManager
Locking
Request
Manager
open
class
LockingRequestManager
:
AbstractRequestManager
Members
Constructors
Locking
Request
Manager
Link copied to clipboard
@
Inject
constructor
(
executorService
:
ExecutorService
,
operationCanceledManager
:
OperationCanceledManager
)
Functions
perform
Background
Work
Link copied to clipboard
open
fun
<
T
>
performBackgroundWork
(
work
:
Supplier
<
T
>
)
:
T
run
Read
Link copied to clipboard
open
fun
<
V
>
runRead
(
cancellable
:
Functions.Function1
<
in
CancelIndicator
,
out
V
>
)
:
CompletableFuture
<
V
>
run
Write
Link copied to clipboard
open
fun
<
U
,
V
>
runWrite
(
nonCancellable
:
Functions.Function0
<
out
U
>
,
cancellable
:
Functions.Function2
<
in
CancelIndicator
,
in
U
,
out
V
>
)
:
CompletableFuture
<
V
>
shutdown
Link copied to clipboard
open
fun
shutdown
(
)