public class AsyncWorkspaceTransfer extends Object
If an exception occurs when a completable waitMonitor try to execute a task, this exception will be saved and propagated when the method waitEndOfTransfer is called
| Constructor and Description |
|---|
AsyncWorkspaceTransfer(HandlerIO handlerAsyncIO) |
| Modifier and Type | Method and Description |
|---|---|
void |
startTransfer(int queueSize) |
void |
transfer(WorkspaceQueue workspaceQueue) |
void |
waitEndOfTransfer()
Wait end of transfer.
|
public AsyncWorkspaceTransfer(HandlerIO handlerAsyncIO)
public void transfer(WorkspaceQueue workspaceQueue) throws WorkerspaceQueueException
WorkerspaceQueueExceptionpublic void startTransfer(int queueSize)
throws WorkerspaceQueueException
WorkerspaceQueueExceptionpublic void waitEndOfTransfer()
throws WorkerspaceQueueException
WorkerspaceQueueExceptionCopyright © 2021 Vitam. All rights reserved.