Interface SubprocedureFactory
- All Known Implementing Classes:
LogRollRegionServerProcedureManager.BackupSubprocedureBuilder
,RegionServerFlushTableProcedureManager.FlushTableSubprocedureBuilder
,RegionServerSnapshotManager.SnapshotSubprocedureBuilder
Task builder to build instances of a
ProcedureMember
's Subprocedure
s.-
Method Summary
Modifier and TypeMethodDescriptionbuildSubprocedure
(String procName, byte[] procArgs) BuildSubprocedure
when requested.
-
Method Details
-
buildSubprocedure
BuildSubprocedure
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 requestIllegalStateException
- if the current runner cannot accept any more new requests
-