public class TransferUpload
extends java.lang.Object
| Constructor and Description |
|---|
TransferUpload(FileCatalystTransmitHandler uploadhandler,
PerformTransmitSetup parent,
boolean isDelta) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustBlockSize() |
protected void |
adjustContinuedRetryValues() |
protected void |
adjustNumOfEncoders() |
protected void |
adjustUnitSize() |
protected void |
checkIfRetryIsNeeded() |
protected void |
checkIsAppendingForNonProgressive() |
protected void |
checkSucess() |
protected void |
doActualTransferForRealsies() |
protected void |
handleClassCastException(java.lang.ClassCastException cce) |
protected void |
handleFCException(FCException ex6) |
protected void |
handleGenericException(java.lang.Throwable ex6) |
protected void |
handleKeepPermissions() |
protected void |
handleModTime() |
protected void |
handleTimeoutException(FCTransmitTimeoutException ex6) |
protected void |
handleTransferCancelled() |
protected void |
handleTransferError() |
protected boolean |
isContinuedRetry() |
protected boolean |
isModTime() |
protected boolean |
isTransferSuceeding() |
protected boolean |
isVerifying() |
protected boolean |
isWindows() |
protected boolean |
needsToHandleProgressiveWithTimeouts() |
protected boolean |
needsToSwitchToProgressiveRetry() |
protected boolean |
needsToTransferData() |
protected boolean |
retrying() |
protected void |
runTransferRetryLoop() |
protected boolean |
successfulTransfer() |
protected boolean |
transferCancelled() |
protected boolean |
transferError() |
protected void |
transferFile() |
protected void |
updateAllDataSizes() |
protected void |
updateAppend() |
protected void |
updateDataSize() |
protected void |
updateFileSizeStatistics() |
protected void |
updateFileSizeStatisticsForProgressive() |
protected void |
updateForPRogressiveSwitch() |
protected void |
updateHTTPTransferStatus() |
protected void |
updateRemoteSize() |
protected void |
updateRetryStats() |
protected void |
updateTransferMetrics() |
protected void |
waitForDeltaThreadIfNeeded() |
protected void |
waitForProgressiveTimeoutIfNeeded() |
protected void |
waitForZipThreadIfNeeded() |
public TransferUpload(FileCatalystTransmitHandler uploadhandler, PerformTransmitSetup parent, boolean isDelta)
protected final void transferFile()
throws FCException,
java.io.IOException,
Return
FCExceptionjava.io.IOExceptionReturnprotected final void handleKeepPermissions()
throws java.io.IOException
java.io.IOExceptionprotected final boolean isWindows()
protected final void handleModTime()
throws java.io.IOException
java.io.IOExceptionprotected final boolean isModTime()
protected final boolean isTransferSuceeding()
protected final boolean isVerifying()
protected final void checkSucess()
throws Return
Returnprotected final void handleTransferError()
protected final void handleTransferCancelled()
protected final boolean transferError()
protected final boolean transferCancelled()
protected final boolean successfulTransfer()
protected final void updateTransferMetrics()
protected final boolean isContinuedRetry()
protected final void updateRetryStats()
protected final void runTransferRetryLoop()
throws java.io.IOException,
Break,
Return
java.io.IOExceptionBreakReturnprotected final void handleGenericException(java.lang.Throwable ex6)
throws Return
Returnprotected final void handleClassCastException(java.lang.ClassCastException cce)
throws Return
Returnprotected final void handleFCException(FCException ex6)
throws FCException.Fatal,
Return
FCException.FatalReturnprotected final void handleTimeoutException(FCTransmitTimeoutException ex6)
throws Return
Returnprotected final void checkIfRetryIsNeeded()
protected final void waitForProgressiveTimeoutIfNeeded()
throws java.io.IOException
java.io.IOExceptionprotected final boolean needsToHandleProgressiveWithTimeouts()
throws java.io.IOException
java.io.IOExceptionprotected final void waitForDeltaThreadIfNeeded()
protected final void waitForZipThreadIfNeeded()
protected final void updateHTTPTransferStatus()
throws FCException,
java.io.IOException
FCExceptionjava.io.IOExceptionprotected final void doActualTransferForRealsies()
throws java.io.IOException,
FCException
java.io.IOExceptionFCExceptionprotected final void adjustContinuedRetryValues()
throws Return,
Break
ReturnBreakprotected final void adjustUnitSize()
protected final void adjustBlockSize()
protected final void adjustNumOfEncoders()
protected final void updateAllDataSizes()
protected final void updateFileSizeStatisticsForProgressive()
protected final void updateFileSizeStatistics()
protected final void updateForPRogressiveSwitch()
protected final boolean needsToSwitchToProgressiveRetry()
protected final void updateDataSize()
protected final void updateAppend()
throws Return
Returnprotected final void checkIsAppendingForNonProgressive()
throws Return
Returnprotected final boolean needsToTransferData()
protected final void updateRemoteSize()
throws Break
Breakprotected final boolean retrying()