Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

concurrent-api: Make the CapturedContext API's public #3203

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* thread via the {@link CapturedContext#attachContext()} method which will return a {@link Scope} used to detach this
* state, restoring any context information that existed beforehand.
*/
interface CapturedContext {
public interface CapturedContext {

/**
* The {@link ContextMap} that was captured.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Functionality related to capturing thread-local like context for later restoration across async boundaries.
*/
@FunctionalInterface
interface CapturedContextProvider {
public interface CapturedContextProvider {

/**
* Capture existing context in preparation for an asynchronous thread jump.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* {@link CapturedContext#attachContext()} to be undone. In practice, this may look like restoring a {@link ThreadLocal}
* to the state it had before the call to {@link CapturedContext#attachContext()}.
*/
interface Scope extends AutoCloseable {
public interface Scope extends AutoCloseable {

/**
* No-op {@link Scope}.
Expand Down
Loading