public static interface StormSubmitter.ProgressListener
Interface use to track progress of file upload.
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted(String srcFile,
String targetFile,
long totalBytes)
called when the file is uploaded.
|
void |
onProgress(String srcFile,
String targetFile,
long bytesUploaded,
long totalBytes)
called whenever a chunk of bytes is uploaded.
|
void |
onStart(String srcFile,
String targetFile,
long totalBytes)
called before file is uploaded.
|
void onStart(String srcFile, String targetFile, long totalBytes)
called before file is uploaded.
srcFile - targetFile - totalBytes - void onProgress(String srcFile, String targetFile, long bytesUploaded, long totalBytes)
called whenever a chunk of bytes is uploaded.
srcFile - targetFile - bytesUploaded - totalBytes - Copyright © 2021 The Apache Software Foundation. All rights reserved.