mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Delete the useless MapreduceAction interface
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122630519
This commit is contained in:
parent
6f4b059cc9
commit
68b75461db
10 changed files with 9 additions and 42 deletions
|
@ -32,7 +32,6 @@ import com.google.common.collect.ImmutableSet;
|
|||
|
||||
import google.registry.config.ConfigModule.Config;
|
||||
import google.registry.gcs.GcsUtils;
|
||||
import google.registry.mapreduce.MapreduceAction;
|
||||
import google.registry.mapreduce.MapreduceRunner;
|
||||
import google.registry.model.domain.DomainResource;
|
||||
import google.registry.model.registry.Registry.TldType;
|
||||
|
@ -57,7 +56,7 @@ import javax.inject.Inject;
|
|||
* TLD.txt into the domain-lists bucket. Note that this overwrites the files in place.
|
||||
*/
|
||||
@Action(path = "/_dr/task/exportDomainLists")
|
||||
public class ExportDomainListsAction implements MapreduceAction {
|
||||
public class ExportDomainListsAction implements Runnable {
|
||||
|
||||
private static final FormattingLogger logger = FormattingLogger.getLoggerForCallerClass();
|
||||
private static final int MAX_NUM_REDUCE_SHARDS = 100;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue