org.apache.hadoop.hbase.procedure
Interface SubprocedureFactory
- All Known Implementing Classes:
- RegionServerSnapshotManager.SnapshotSubprocedureBuilder
@InterfaceAudience.Private
public interface SubprocedureFactory
Task builder to build instances of a ProcedureMember
's Subprocedure
s.
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 © 2007-2016 The Apache Software Foundation. All Rights Reserved.