public interface Session extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the copy job.
|
void |
join()
Block the thread to wait the copy job finishes or canceled.
|
Status |
status()
Returns the copy job status.
|
void cancel()
void join() throws InterruptedException
InterruptedException - if the current thread is interrupted
while waitingStatus status()
Copyright © 2024. All rights reserved.