org.apache.hadoop.hbase.regionserver.snapshot
Class RegionServerSnapshotManager.SnapshotSubprocedureBuilder

java.lang.Object
  extended by 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
RegionServerSnapshotManager.SnapshotSubprocedureBuilder()
           
 
Method Summary
 Subprocedure buildSubprocedure(String name, byte[] data)
          Build Subprocedure when requested.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionServerSnapshotManager.SnapshotSubprocedureBuilder

public RegionServerSnapshotManager.SnapshotSubprocedureBuilder()
Method Detail

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 subprocedure
data - arguments passed from the coordinator about the procedure
Returns:
Subprocedure to run or null if the no operation should be run


Copyright © 2015 The Apache Software Foundation. All rights reserved.