Skip to content

Commit

Permalink
docs: add javadoc
Browse files Browse the repository at this point in the history
Add javadoc to shortly describe why there is a GatewayRequestStore
  • Loading branch information
remcowesterhoud committed May 12, 2022
1 parent 51a917a commit acaa2a8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicLong;

/**
* This class stores gateway requests in a thread-safe manner. These requests will be accessed by
* the {@link GrpcResponseWriter} in order to send the responses
*/
class GatewayRequestStore {

private final Map<Long, Request> requestMap = new ConcurrentHashMap<>();
Expand Down

0 comments on commit acaa2a8

Please sign in to comment.