library/src/main/java/com/kdgregory/aws/utils/s3/MultipartUpload.java
/**
     *  Waits until the outstanding tasks are below the limit.
     */
Waits until the outstanding tasks are below the limit.
Waits until the outstanding tasks are below the limit .
private void waitForTaskSlot()
    {
        while (true)
        {
            List<Future<PartETag>> tasks = outstandingTasks();
            if (tasks.isEmpty() || tasks.size() < maxOutstandingTasks)
                return;
            unwrap(tasks.get(0));
        }
    }
private void waitForTaskSlot ( ) { while ( true ) { List < Future < PartETag > > tasks = outstandingTasks ( ) ; if ( tasks . isEmpty ( ) || tasks . size ( ) < maxOutstandingTasks ) return ; unwrap ( tasks . get ( 0 ) ) ; } }
Waits until the outstanding tasks are below the limit.
Waits until the outstanding tasks are below the limit .