Class TransferUpload


  • public class TransferUpload
    extends java.lang.Object
    • Method Detail

      • transferFile

        protected final void transferFile()
                                   throws unlimited.core.util.common.exception.FCException,
                                          java.io.IOException,
                                          unlimited.core.util.common.controlFlow.Return
        Throws:
        unlimited.core.util.common.exception.FCException
        java.io.IOException
        unlimited.core.util.common.controlFlow.Return
      • handleKeepPermissions

        protected final void handleKeepPermissions()
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • isWindows

        protected final boolean isWindows()
      • handleModTime

        protected final void handleModTime()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • isModTime

        protected final boolean isModTime()
      • isTransferSuceeding

        protected final boolean isTransferSuceeding()
      • isVerifying

        protected final boolean isVerifying()
      • checkSucess

        protected final void checkSucess()
                                  throws unlimited.core.util.common.controlFlow.Return
        Throws:
        unlimited.core.util.common.controlFlow.Return
      • handleTransferError

        protected final void handleTransferError()
      • handleTransferCancelled

        protected final void handleTransferCancelled()
      • transferError

        protected final boolean transferError()
      • transferCancelled

        protected final boolean transferCancelled()
      • successfulTransfer

        protected final boolean successfulTransfer()
      • updateTransferMetrics

        protected final void updateTransferMetrics()
      • isContinuedRetry

        protected final boolean isContinuedRetry()
      • updateRetryStats

        protected final void updateRetryStats()
      • runTransferRetryLoop

        protected final void runTransferRetryLoop()
                                           throws java.io.IOException,
                                                  unlimited.core.util.common.controlFlow.Break,
                                                  unlimited.core.util.common.controlFlow.Return
        Throws:
        java.io.IOException
        unlimited.core.util.common.controlFlow.Break
        unlimited.core.util.common.controlFlow.Return
      • handleGenericException

        protected final void handleGenericException​(java.lang.Throwable ex6)
                                             throws unlimited.core.util.common.controlFlow.Return
        Throws:
        unlimited.core.util.common.controlFlow.Return
      • handleClassCastException

        protected final void handleClassCastException​(java.lang.ClassCastException cce)
                                               throws unlimited.core.util.common.controlFlow.Return
        Throws:
        unlimited.core.util.common.controlFlow.Return
      • handleFCException

        protected final void handleFCException​(unlimited.core.util.common.exception.FCException ex6)
                                        throws unlimited.core.util.common.exception.FCException.Fatal,
                                               unlimited.core.util.common.controlFlow.Return
        Throws:
        unlimited.core.util.common.exception.FCException.Fatal
        unlimited.core.util.common.controlFlow.Return
      • handleTimeoutException

        protected final void handleTimeoutException​(unlimited.core.util.common.exception.FCTransmitTimeoutException ex6)
                                             throws unlimited.core.util.common.controlFlow.Return
        Throws:
        unlimited.core.util.common.controlFlow.Return
      • checkIfRetryIsNeeded

        protected final void checkIfRetryIsNeeded()
      • waitForProgressiveTimeoutIfNeeded

        protected final void waitForProgressiveTimeoutIfNeeded()
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • needsToHandleProgressiveWithTimeouts

        protected final boolean needsToHandleProgressiveWithTimeouts()
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • waitForDeltaThreadIfNeeded

        protected final void waitForDeltaThreadIfNeeded()
      • waitForZipThreadIfNeeded

        protected final void waitForZipThreadIfNeeded()
      • updateHTTPTransferStatus

        protected final void updateHTTPTransferStatus()
                                               throws unlimited.core.util.common.exception.FCException,
                                                      java.io.IOException
        Throws:
        unlimited.core.util.common.exception.FCException
        java.io.IOException
      • doActualTransferForRealsies

        protected final void doActualTransferForRealsies()
                                                  throws java.io.IOException,
                                                         unlimited.core.util.common.exception.FCException
        Throws:
        java.io.IOException
        unlimited.core.util.common.exception.FCException
      • adjustContinuedRetryValues

        protected final void adjustContinuedRetryValues()
                                                 throws unlimited.core.util.common.controlFlow.Return,
                                                        unlimited.core.util.common.controlFlow.Break
        Throws:
        unlimited.core.util.common.controlFlow.Return
        unlimited.core.util.common.controlFlow.Break
      • adjustUnitSize

        protected final void adjustUnitSize()
      • adjustBlockSize

        protected final void adjustBlockSize()
      • adjustNumOfEncoders

        protected final void adjustNumOfEncoders()
      • updateAllDataSizes

        protected final void updateAllDataSizes()
      • updateFileSizeStatisticsForProgressive

        protected final void updateFileSizeStatisticsForProgressive()
      • updateFileSizeStatistics

        protected final void updateFileSizeStatistics()
      • updateForPRogressiveSwitch

        protected final void updateForPRogressiveSwitch()
      • needsToSwitchToProgressiveRetry

        protected final boolean needsToSwitchToProgressiveRetry()
      • updateDataSize

        protected final void updateDataSize()
      • updateAppend

        protected final void updateAppend()
                                   throws unlimited.core.util.common.controlFlow.Return
        Throws:
        unlimited.core.util.common.controlFlow.Return
      • checkIsAppendingForNonProgressive

        protected final void checkIsAppendingForNonProgressive()
                                                        throws unlimited.core.util.common.controlFlow.Return
        Throws:
        unlimited.core.util.common.controlFlow.Return
      • needsToTransferData

        protected final boolean needsToTransferData()
      • updateRemoteSize

        protected final void updateRemoteSize()
                                       throws unlimited.core.util.common.controlFlow.Break
        Throws:
        unlimited.core.util.common.controlFlow.Break
      • retrying

        protected final boolean retrying()