Class DeleteContactsAndHostsAction.DeleteEppResourceReducer

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

    public static class DeleteContactsAndHostsAction.DeleteEppResourceReducer
    extends com.google.appengine.tools.mapreduce.Reducer<google.registry.batch.DeleteContactsAndHostsAction.DeletionRequest,​java.lang.Boolean,​java.lang.Void>
    A reducer that checks if the EPP resource to be deleted is referenced anywhere, and then deletes it if not and unmarks it for deletion if so.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void reduce​(google.registry.batch.DeleteContactsAndHostsAction.DeletionRequest deletionRequest, 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
    • Constructor Detail

      • DeleteEppResourceReducer

        public DeleteEppResourceReducer()
    • Method Detail

      • reduce

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