public final class Stats
extends com.google.gwt.core.client.JavaScriptObject
Uploader.getStats() method.| Modifier | Constructor and Description |
|---|---|
protected |
Stats()
Instances of the Stats object can not be created directly, but should instead
be obtained via the
Uploader.getStats() method. |
| Modifier and Type | Method and Description |
|---|---|
int |
getFilesQueued()
Return the number of files currently in the queue.
|
int |
getQueueErrors()
Return the number of files that caused the
FileQueueErrorHandler
to be fired. |
int |
getSuccessfulUploads()
Return the number of files that have uploaded successfully (caused uploadSuccess to be fired).
|
int |
getUploadErrors()
Return the number of files that have had errors (excluding cancelled files).
|
int |
getUploadsCancelled()
Return the number of files that have been cancelled.
|
int |
getUploadsInProgress()
Return a 1 or 0 indicating if a file upload is currently in progress.
|
protected Stats()
Uploader.getStats() method.public int getUploadsInProgress()
public int getFilesQueued()
public int getSuccessfulUploads()
public int getUploadErrors()
public int getUploadsCancelled()
public int getQueueErrors()
FileQueueErrorHandler
to be fired.