Interface WriteProgress
public interface WriteProgress
-
Method Summary
Modifier and TypeMethodDescriptionvoidabort()Abort the process; no effect if already completedvoidawaitFinished(Long amount, TimeUnit timeUnit) Block until the process is completelongObtain the number of bytes writtenbooleanboolean
-
Method Details
-
abort
void abort()Abort the process; no effect if already completed -
isAborted
boolean isAborted() -
isFinished
boolean isFinished() -
awaitFinished
Block until the process is complete -
getBytesWritten
long getBytesWritten()Obtain the number of bytes written
-