Interface Retryable

  • public interface Retryable
    Simple interface for executing a piece of code. Used for writing anonymous inner classes in FTP task for retry-on-IOException behaviour.
    See Also:
    • Field Detail


        static final int RETRY_FOREVER
        The value to use to never give up.
        See Also:
        Constant Field Values
    • Method Detail

      • execute

        void execute()
        Called to execute the code.
        Throws: - if there is a problem.