org.apache.hadoop.hbase.regionserver.snapshot
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegionServerSnapshotManager.SnapshotSubprocedureBuilder
public RegionServerSnapshotManager.SnapshotSubprocedureBuilder()
buildSubprocedure
public Subprocedure buildSubprocedure(String name,
byte[] data)
- Description copied from interface:
SubprocedureFactory
- Build
Subprocedure
when requested.
- Specified by:
buildSubprocedure
in interface SubprocedureFactory
- 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
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.