Package io.servicetalk.concurrent.api
Interface AsyncContextMapHolder
-
public interface AsyncContextMapHolder
Interface for setting and getting aAsyncContextMap
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncContextMap
asyncContextMap()
Get the currentAsyncContextMap
.void
asyncContextMap(AsyncContextMap asyncContextMap)
Set theAsyncContextMap
.
-
-
-
Method Detail
-
asyncContextMap
void asyncContextMap(@Nullable AsyncContextMap asyncContextMap)
Set theAsyncContextMap
.- Parameters:
asyncContextMap
- the new value forAsyncContextMap
.
-
asyncContextMap
@Nullable AsyncContextMap asyncContextMap()
Get the currentAsyncContextMap
.- Returns:
- the current
AsyncContextMap
.
-
-