public static interface StormSubmitter.ProgressListener
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)
srcFile
- - jar file to be uploadedtargetFile
- - destination filetotalBytes
- - total number of bytes of the filevoid onProgress(String srcFile, String targetFile, long bytesUploaded, long totalBytes)
srcFile
- - jar file to be uploadedtargetFile
- - destination filebytesUploaded
- - number of bytes transferred so fartotalBytes
- - total number of bytes of the fileCopyright © 2016 The Apache Software Foundation. All Rights Reserved.