Semantifyr
Toggle table of contents
0.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Semantifyr
semantifyr-live-backend
/
hu.bme.mit.semantifyr.live.backend.utils
/
MdcContext
Mdc
Context
class
MdcContext
(
contextMap
:
Map
<
String
,
String
>
)
:
AbstractCoroutineContextElement
,
ThreadContextElement
<
Map
<
String
,
String
>
?
>
Members
Constructors
Mdc
Context
Link copied to clipboard
constructor
(
contextMap
:
Map
<
String
,
String
>
)
constructor
(
vararg
pairs
:
Pair
<
String
,
String
>
)
Types
Key
Link copied to clipboard
object
Key
:
CoroutineContext.Key
<
MdcContext
>
Properties
key
Link copied to clipboard
open
override
val
key
:
CoroutineContext.Key
<
*
>
Functions
fold
Link copied to clipboard
open
override
fun
<
R
>
fold
(
initial
:
R
,
operation
:
(
R
,
CoroutineContext.Element
)
->
R
)
:
R
get
Link copied to clipboard
open
operator override
fun
<
E
:
CoroutineContext.Element
>
get
(
key
:
CoroutineContext.Key
<
E
>
)
:
E
?
minus
Key
Link copied to clipboard
open
override
fun
minusKey
(
key
:
CoroutineContext.Key
<
*
>
)
:
CoroutineContext
plus
Link copied to clipboard
operator
fun
plus
(
other
:
MdcContext
)
:
MdcContext
operator
fun
plus
(
pair
:
Pair
<
String
,
String
>
)
:
MdcContext
operator
fun
plus
(
pairs
:
Map
<
String
,
String
>
)
:
MdcContext
open
operator
fun
plus
(
context
:
CoroutineContext
)
:
CoroutineContext
restore
Thread
Context
Link copied to clipboard
open
override
fun
restoreThreadContext
(
context
:
CoroutineContext
,
oldState
:
Map
<
String
,
String
>
?
)
update
Thread
Context
Link copied to clipboard
open
override
fun
updateThreadContext
(
context
:
CoroutineContext
)
:
Map
<
String
,
String
>
?