public class RetriableFileCopyCommand extends RetriableCommand
限定符和类型 | 类和说明 |
---|---|
static class |
RetriableFileCopyCommand.CopyReadException
Special subclass of IOException.
|
description
构造器和说明 |
---|
RetriableFileCopyCommand(boolean skipCrc,
String description)
Create a RetriableFileCopyCommand.
|
RetriableFileCopyCommand(String description)
Constructor, taking a description of the action.
|
限定符和类型 | 方法和说明 |
---|---|
protected Object |
doExecute(Object... arguments)
Implementation of RetriableCommand::doExecute().
|
execute, setRetryPolicy
public RetriableFileCopyCommand(String description)
description
- Verbose description of the copy operation.public RetriableFileCopyCommand(boolean skipCrc, String description)
skipCrc
- Whether to skip the crc check.description
- A verbose description of the copy operation.protected Object doExecute(Object... arguments) throws Exception
doExecute
在类中 RetriableCommand
arguments
- Argument-list to the command.Exception:
- CopyReadException, if there are read-failures. All other
failures are IOExceptions.Exception
- Throws Exception on complete failure.Copyright © 2009 The Apache Software Foundation