mirror of
https://github.com/google/nomulus
synced 2026-01-06 13:36:48 +00:00
Delete the useless MapreduceAction interface
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122630519
This commit is contained in:
committed by
Justine Tunney
parent
6f4b059cc9
commit
68b75461db
@@ -26,7 +26,6 @@ import com.google.common.annotations.VisibleForTesting;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
|
||||
import google.registry.config.RegistryEnvironment;
|
||||
import google.registry.mapreduce.MapreduceAction;
|
||||
import google.registry.util.FormattingLogger;
|
||||
|
||||
import org.joda.time.Duration;
|
||||
@@ -45,7 +44,7 @@ public final class AsyncFlowUtils {
|
||||
|
||||
/** Enqueues a mapreduce action to perform an async flow operation. */
|
||||
public static TaskHandle enqueueMapreduceAction(
|
||||
Class<? extends MapreduceAction> action,
|
||||
Class<? extends Runnable> action,
|
||||
ImmutableMap<String, String> params,
|
||||
Duration executionDelay) {
|
||||
Queue queue = QueueFactory.getQueue(ASYNC_FLOW_QUEUE_NAME);
|
||||
|
||||
Reference in New Issue
Block a user