Azure / azure-cosmosdb-java

Java Async SDK for SQL API of Azure Cosmos DB
MIT License
54 stars 61 forks source link

Direct TCP: Implement request timeout #114

Closed David-Noble-at-work closed 5 years ago

David-Noble-at-work commented 5 years ago

Direct TCP requests are represented as RntbdRequestRecord instances and these are tracked and timed by the RntbdRequestManager. Requests are timed using the (static) RntbdRequestTimer class which a HashedWheelTimer. The timer interval is controlled by this setting value: