Package com.linkedin.venice.fastclient
Interface ExecutionContextProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Supplies application execution context without coupling the client to a particular context implementation.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncapture()Capture the calling thread's context before crossing an asynchronous boundary.
-
Field Details
-
NO_OP
-
-
Method Details
-
capture
ExecutionContextProvider.CapturedContext capture()Capture the calling thread's context before crossing an asynchronous boundary. The returned snapshot must support concurrent and repeated use.
-