Interface SubprocedureFactory
- All Known Implementing Classes:
LogRollRegionServerProcedureManager.BackupSubprocedureBuilder,RegionServerFlushTableProcedureManager.FlushTableSubprocedureBuilder,RegionServerSnapshotManager.SnapshotSubprocedureBuilder
Task builder to build instances of a
ProcedureMember's Subprocedures.-
Method Summary
Modifier and TypeMethodDescriptionbuildSubprocedure(String procName, byte[] procArgs) BuildSubprocedurewhen requested.
-
Method Details
-
buildSubprocedure
BuildSubprocedurewhen requested.- Parameters:
procName- name of the procedure associated with this subprocedureprocArgs- arguments passed from the coordinator about the procedure- Returns:
Subprocedureto run or null if the no operation should be run- Throws:
IllegalArgumentException- if the operation could not be run because of errors in the requestIllegalStateException- if the current runner cannot accept any more new requests
-