public class RetriableFileCopyCommand extends RetriableCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
RetriableFileCopyCommand.CopyReadException
Special subclass of IOException.
|
description| Constructor and Description |
|---|
RetriableFileCopyCommand(boolean skipCrc,
String description)
Create a RetriableFileCopyCommand.
|
RetriableFileCopyCommand(String description)
Constructor, taking a description of the action.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
doExecute(Object... arguments)
Implementation of RetriableCommand::doExecute().
|
execute, setRetryPolicypublic 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 in class RetriableCommandarguments - Argument-list to the command.Exception: - CopyReadException, if there are read-failures. All other
failures are IOExceptions.Exception - Throws Exception on complete failure.Copyright © 2014 Apache Software Foundation. All Rights Reserved.