Class RegionServerSnapshotManager.SnapshotSubprocedureBuilder
java.lang.Object
org.apache.hadoop.hbase.regionserver.snapshot.RegionServerSnapshotManager.SnapshotSubprocedureBuilder
- All Implemented Interfaces:
SubprocedureFactory
- Enclosing class:
- RegionServerSnapshotManager
public class RegionServerSnapshotManager.SnapshotSubprocedureBuilder
extends Object
implements SubprocedureFactory
Build the actual snapshot runner that will do all the 'hard' work
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildSubprocedure
(String name, byte[] data) BuildSubprocedure
when requested.
-
Constructor Details
-
SnapshotSubprocedureBuilder
public SnapshotSubprocedureBuilder()
-
-
Method Details
-
buildSubprocedure
Description copied from interface:SubprocedureFactory
BuildSubprocedure
when requested.- Specified by:
buildSubprocedure
in interfaceSubprocedureFactory
- Parameters:
name
- name of the procedure associated with this subproceduredata
- arguments passed from the coordinator about the procedure- Returns:
Subprocedure
to run or null if the no operation should be run
-