Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2013-2015, Inc. or its affiliates. All Rights Reserved.
  * Licensed under the Apache License, Version 2.0 (the "License").
  * You may not use this file except in compliance with the License.
  * A copy of the License is located at
 * or in the "license" file accompanying this file. This file is distributed
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
S3 specific listener interface for transfer progress events.
public interface S3ProgressListener extends ProgressListener {
Called when the information to resume an upload/download operation is available, The execution of the callback of this listener is managed by S3ProgressPublisher. Implementation of this interface should never block.

If the implementation follows the best practice and doesn't block, it should then extends from S3SyncProgressListener.

Note any exception thrown by the listener will get ignored. Should there be need to capture any such exception, you may consider wrapping the listener with com.amazonaws.event.ProgressListener.ExceptionReporter.wrap(com.amazonaws.event.ProgressListener).

persistableTransfer A non null opaque token used to resume an upload or download.
See also:
    public void onPersistableTransfer(final PersistableTransfer persistableTransfer);
New to GrepCode? Check out our FAQ X