1
0
mirror of https://github.com/google/nomulus synced 2026-01-11 00:10:36 +00:00
Files
nomulus/java/google/registry/proxy
jianglai b6d2790a13 Add TokenStore and QuotaManager to manage proxy quota requests
The TokenStore is configured by a QuotaConfig for a protocol (EPP/WHOIS). It accepts concurrent take, put and refresh request to grant/accept token to the caller.

The QuotaManager contains a TokenStore and provides abstractions that are appropriate for a quota leasing entity to use. Quota return calls are executed asynchronously by the QuotaManager, and quota refresh tasks are scheduled by the QuotaManager to run periodically.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=182109341
2018-01-19 14:46:44 -05:00
..
2017-11-21 19:19:03 -05:00
2017-11-21 19:19:03 -05:00
2017-11-21 19:19:03 -05:00
2017-11-21 19:19:03 -05:00
2017-11-21 19:19:03 -05:00
2017-11-21 19:19:03 -05:00
2017-11-21 19:19:03 -05:00