Skip to content

com.uber.tchannel.api.SubChannel not thread safe, not documented #163

Open

Description

@alshopov

Class SubChannel keeps handlers in
private final Map<String, RequestHandler> requestHandlers = new HashMap<>();

most often calls to
public SubChannel register(String endpoint, RequestHandler requestHandler)
make structural changes to the HashMap which means that the SubChannel class is not thread safe - register(String endpoint, RequestHandler) must be called from a single thread (or change the underlying map implementation)

Activity

  1. self-assigned this
    on Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions