public class BridgeDeleteTaskExecutor extends BasicDeleteTaskExecutor
tools/bin/libexec/workflow/hadoop-bridge.| Modifier and Type | Field and Description | 
|---|---|
| static String | DELEGATE_CLASSThe target class name. | 
| Constructor and Description | 
|---|
| BridgeDeleteTaskExecutor()Creates a new instance. | 
| BridgeDeleteTaskExecutor(Function<? super TaskExecutionContext,? extends CommandLauncher> launchers)Creates a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | deleteOnHadoopFileSystem(TaskExecutionContext context,
                        String path)Delete files on Hadoop file system. | 
| boolean | isSupported(TaskExecutionContext context,
           TaskInfo task)Returns whether this executor supports executing the target task. | 
deleteOnLocalFileSystem, executepublic static final String DELEGATE_CLASS
public BridgeDeleteTaskExecutor()
public BridgeDeleteTaskExecutor(Function<? super TaskExecutionContext,? extends CommandLauncher> launchers)
launchers - the launcher providerpublic boolean isSupported(TaskExecutionContext context, TaskInfo task)
TaskExecutorisSupported in interface TaskExecutorisSupported in class BasicDeleteTaskExecutorcontext - the current contexttask - the target tasktrue if this supports the target task, otherwise falseprotected void deleteOnHadoopFileSystem(TaskExecutionContext context, String path) throws IOException, InterruptedException
BasicDeleteTaskExecutordeleteOnHadoopFileSystem in class BasicDeleteTaskExecutorcontext - the current contextpath - the target pathIOException - if I/O error was occurred while deleting filesInterruptedException - if interrupted while deleting filesCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.