org.apache.hadoop.hbase.procedure
Interface SubprocedureFactory
- All Known Implementing Classes:
- RegionServerSnapshotManager.SnapshotSubprocedureBuilder
@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface SubprocedureFactory
Task builder to build instances of a ProcedureMember's Subprocedures.
buildSubprocedure
Subprocedure buildSubprocedure(String procName,
byte[] procArgs)
- Build
Subprocedure when requested.
- Parameters:
procName - name of the procedure associated with this subprocedureprocArgs - arguments passed from the coordinator about the procedure
- Returns:
Subprocedure to run or null if the no operation should be run
- Throws:
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 © 2013 The Apache Software Foundation. All Rights Reserved.