org.apache.hadoop.hbase.regionserver
Interface SplitLogWorker.TaskExecutor

Enclosing class:
SplitLogWorker

public static interface SplitLogWorker.TaskExecutor

Objects implementing this interface actually do the task that has been acquired by a SplitLogWorker. Since there isn't a water-tight guarantee that two workers will not be executing the same task therefore it is better to have workers prepare the task and then have the SplitLogManager commit the work in SplitLogManager.TaskFinisher


Nested Class Summary
static class SplitLogWorker.TaskExecutor.Status
           
 
Method Summary
 SplitLogWorker.TaskExecutor.Status exec(String name, org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.RecoveryMode mode, CancelableProgressable p)
           
 

Method Detail

exec

SplitLogWorker.TaskExecutor.Status exec(String name,
                                        org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.RecoveryMode mode,
                                        CancelableProgressable p)


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.