class WorkspaceBatchRunner implements Runnable {

    public void transfer(WorkspaceQueue workspaceQueue) throws WorkerspaceQueueException {
        ParametersChecker.checkParameter("WorkspaceQueue is required", workspaceQueue);
        if (!started) {
            throw new WorkerspaceQueueException("Workspace batch runner not started");
        }

        try {
            queue.put(workspaceQueue);
        } catch (InterruptedException e) {
            LOGGER.error(e);
            throw new WorkerspaceQueueException(e);

        }
    }

    public  WorkspaceBatchRunner(HandlerIO handlerAsyncIO, Executor executor, int queueSize);

}