google-nomulus/java/google/registry/whois
cgoldfeder c9d7e75946 Cache Registrars in memory
This replaces the memcache caching, which we think is overall a bad idea.
We load all registrars at once instead of caching each as needed, so that
the loadAllCached() methods can be cached as well, and therefore will
always produce results consistent with loadByClientIdCached()'s view of the
registrar's values. All of our prod registrars together total 300k of data
right now, so this is hardly worth optimizing further, and in any case this
will likely reduce latency even further since most requests will be
served out of memory.

While I was in the Registrar file I standardized the error messages for incorrect
password and clientId length to be the same format, and cleaned up a few
random things I noticed in the code.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=156151828
2017-05-17 12:26:11 -04:00
..
BUILD Set correct auth settings for all actions 2017-03-13 11:22:55 -04:00
DomainLookupCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainOrHostLookupCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
DomainWhoisResponse.java Make name and address fields required on Registrar 2017-05-17 11:44:46 -04:00
NameserverLookupByHostCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
NameserverLookupByIpCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
NameserverWhoisResponse.java Make name and address fields required on Registrar 2017-05-17 11:44:46 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistrarLookupCommand.java Cache Registrars in memory 2017-05-17 12:26:11 -04:00
RegistrarWhoisResponse.java Make WHOIS domain query return conform to ICANN CL&D policy 2017-05-17 11:38:28 -04:00
Whois.java Refactor WhoisReader.readCommand() method to take a now param 2017-03-13 10:45:40 -04:00
WhoisCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
WhoisCommandFactory.java Fix a javadoc error 2017-02-08 17:42:49 -05:00
WhoisException.java Implement retry for transient errors in WHOIS server 2017-04-05 10:18:23 -04:00
WhoisHttpServer.java Set correct auth settings for all actions 2017-03-13 11:22:55 -04:00
WhoisMetrics.java Fix two warnings thrown by Eclipse 2017-04-26 10:36:51 -04:00
WhoisModule.java Add WHOIS metrics classes 2017-03-07 14:01:16 -05:00
WhoisReader.java Refactor WhoisReader.readCommand() method to take a now param 2017-03-13 10:45:40 -04:00
WhoisResponse.java Implement retry for transient errors in WHOIS server 2017-04-05 10:18:23 -04:00
WhoisResponseImpl.java Make name and address fields required on Registrar 2017-05-17 11:44:46 -04:00
WhoisServer.java Implement retry for transient errors in WHOIS server 2017-04-05 10:18:23 -04:00