Class RefreshDnsOnHostRenameAction.RefreshDnsOnHostRenameReducer

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    RefreshDnsOnHostRenameAction

    public static class RefreshDnsOnHostRenameAction.RefreshDnsOnHostRenameReducer
    extends com.google.appengine.tools.mapreduce.Reducer<java.lang.Boolean,​java.lang.Boolean,​java.lang.Void>
    A reducer that always fires exactly once.

    This is really a reducer in name only; what it's really doing is waiting for all of the mapper tasks to finish, and then delete the pull queue tasks. Note that this only happens if the mapper completes execution without errors.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void reduce​(java.lang.Boolean key, com.google.appengine.tools.mapreduce.ReducerInput<java.lang.Boolean> values)  
      • Methods inherited from class com.google.appengine.tools.mapreduce.Reducer

        emit
      • Methods inherited from class com.google.appengine.tools.mapreduce.Worker

        allowSliceRetry, beginShard, beginSlice, endShard, endSlice, estimateMemoryRequirement, getContext, setContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • reduce

        public void reduce​(java.lang.Boolean key,
                           com.google.appengine.tools.mapreduce.ReducerInput<java.lang.Boolean> values)
        Specified by:
        reduce in class com.google.appengine.tools.mapreduce.Reducer<java.lang.Boolean,​java.lang.Boolean,​java.lang.Void>