google-nomulus/javatests/google/registry/proxy/quota
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
..
testdata Add TokenStore and QuotaManager to manage proxy quota requests 2018-01-19 14:46:44 -05:00
QuotaConfigTest.java Add TokenStore and QuotaManager to manage proxy quota requests 2018-01-19 14:46:44 -05:00
QuotaManagerTest.java Add TokenStore and QuotaManager to manage proxy quota requests 2018-01-19 14:46:44 -05:00
TokenStoreTest.java Add TokenStore and QuotaManager to manage proxy quota requests 2018-01-19 14:46:44 -05:00