public interface SyncProgressListener extends ProgressListener
The solution is choose the more appropriate method of progress metering for each individual sync job based on the total number of items and their size.
|Modifier and Type||Method and Description|
Tells the progress listener that
Tells the progress monitor that an item transfer has failed with the specified exception.
Tells the progress monitor that an item transfer has completed.
boolean bytesTransferred(long byteCount)
byteCountnumber of bytes have been transferred. Gives the listener a chance to stop the operation by returning
byteCount- the number of bytes that have been copied/moved
trueto continue with the operation,
void itemFailed(java.lang.Throwable ex)
Throwablecarrying information about the failure of a particular item transfer.