@InterfaceAudience.Private public interface SubprocedureFactory
Subprocedure buildSubprocedure(String procName, byte procArgs)
procName- name of the procedure associated with this subprocedure
procArgs- arguments passed from the coordinator about the procedure
Subprocedureto run or null if the no operation should be run
IllegalArgumentException- if the operation could not be run because of errors in the request
IllegalStateException- if the current runner cannot accept any more new requests
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.