public class DownloadRetryLoop
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
DownloadRetryLoop.ProgressiveRetryData |
| Constructor and Description |
|---|
DownloadRetryLoop(HandleDownloadTransfer download,
FileCatalystReceiveHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSizeForRetry() |
void |
doTransferForRealsies() |
void |
handleDefaultFailure(java.lang.Throwable throwable) |
void |
handleFailureToBindDataPort(java.net.BindException be) |
void |
handleIOExceptionRecovery(java.io.IOException ex6) |
void |
handleProgressive() |
void |
handleTimeout(FCReceiveTimeoutException ex6) |
void |
logResultsOfLoopIteration(DownloadRetryLoop.ProgressiveRetryData data) |
void |
monitorRemoteFileSize(DownloadRetryLoop.ProgressiveRetryData data) |
void |
monitorRemoteZipFileSize() |
void |
runRetryLoop() |
void |
setPreLoopRetryValues() |
void |
setSizeValuesForRemoteSizeMonitoring() |
void |
setStartOfRetryValues() |
void |
setupForRetryOrProgressiveAppend() |
void |
sleepForProgressiveDelaybeforeAppendingIfNeeded() |
void |
updateStatusIDLE(DownloadRetryLoop.ProgressiveRetryData data) |
public DownloadRetryLoop(HandleDownloadTransfer download, FileCatalystReceiveHandler handler)
public void runRetryLoop()
throws Return,
FCException
ReturnFCExceptionpublic void handleDefaultFailure(java.lang.Throwable throwable)
throws Return
Returnpublic void handleIOExceptionRecovery(java.io.IOException ex6)
throws Return,
FCException
ReturnFCExceptionpublic void handleFailureToBindDataPort(java.net.BindException be)
throws Return
Returnpublic void handleTimeout(FCReceiveTimeoutException ex6)
public void checkSizeForRetry()
throws java.io.IOException
java.io.IOExceptionpublic void handleProgressive()
public void updateStatusIDLE(DownloadRetryLoop.ProgressiveRetryData data)
public void logResultsOfLoopIteration(DownloadRetryLoop.ProgressiveRetryData data)
public void monitorRemoteFileSize(DownloadRetryLoop.ProgressiveRetryData data) throws java.io.IOException, FCException
java.io.IOExceptionFCExceptionpublic void monitorRemoteZipFileSize()
throws java.io.IOException,
FCException
java.io.IOExceptionFCExceptionpublic void setSizeValuesForRemoteSizeMonitoring()
throws java.io.IOException,
FCException
java.io.IOExceptionFCExceptionpublic void doTransferForRealsies()
throws java.io.IOException,
FCException,
java.security.NoSuchAlgorithmException
java.io.IOExceptionFCExceptionjava.security.NoSuchAlgorithmExceptionpublic void setupForRetryOrProgressiveAppend()
throws java.lang.Exception
java.lang.Exceptionpublic void setStartOfRetryValues()
public void setPreLoopRetryValues()
public void sleepForProgressiveDelaybeforeAppendingIfNeeded()