google-nomulus/java/google/registry/tools/server
mcilwain 8f456bcf64 Clarify when to use cache (or not) when loading premium lists
You don't want to use the cache when loading them for the purposes of updating
them, but you definitely do still want to use the cache when checking the
price of individual domains.

In [] the cache clearing of premium lists on update was removed. This
is a good thing in aggregate because the cache is per-instance and thus
misleading, but it also caused us to not be able to update the same premium
list twice within an hour because the second update would hit a "PremiumList
was concurrently edited" exception, owing to first loading the stale version
from the cache for the purposes of updating it. Now we bypass the cache for
that purpose.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=197768142
2018-05-30 12:18:54 -04:00
..
BUILD Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
CreateGroupsAction.java Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
CreateOrUpdatePremiumListAction.java Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
CreatePremiumListAction.java Truncate how much info we log about updated premium lists 2018-05-05 23:35:41 -04:00
DeleteEntityAction.java Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
GenerateZoneFilesAction.java Migrate Guava Predicates.notNull to Objects.nonNull 2017-12-27 11:19:53 -05:00
KillAllCommitLogsAction.java Replace Stream.concat with Streams.concat 2017-12-27 11:35:47 -05:00
KillAllEntitiesReducer.java Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -05:00
KillAllEppResourcesAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
ListDomainsAction.java Add limit to list_domains command 2018-05-17 21:52:35 -04:00
ListHostsAction.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
ListObjectsAction.java Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
ListPremiumListsAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
ListRegistrarsAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
ListReservedListsAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
ListTldsAction.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
PollMapreduceAction.java Add PollMapreduceAction 2017-09-12 15:51:44 -04:00
RefreshDnsForAllDomainsAction.java Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
ResaveAllHistoryEntriesAction.java Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -05:00
ToolsServerModule.java Add limit to list_domains command 2018-05-17 21:52:35 -04:00
UpdatePremiumListAction.java Clarify when to use cache (or not) when loading premium lists 2018-05-30 12:18:54 -04:00
VerifyOteAction.java Add per-test output to verify_ote command in --summarize mode 2018-04-02 16:50:42 -04:00