resolves the oldest `` checked-out '' chunk and invokes the callback and future that accompanied the chunk . once a chunk is resolved , the data inside it is considered void . if no chunks have been `` checked-out '' yet , does nothing . concode_field_sep LinkedBlockingQueue<ChunkData> chunks concode_elem_sep ReentrantLock lock concode_elem_sep Callback<Long> callback concode_elem_sep ByteBuffer buffer concode_elem_sep AtomicBoolean channelOpen concode_elem_sep FutureResult<Long> future concode_elem_sep int startPos concode_elem_sep Queue<ChunkData> chunksAwaitingResolution concode_field_sep boolean isOpen concode_elem_sep void resolveAllRemainingChunks concode_elem_sep ByteBuffer getChunkBuffer concode_elem_sep void resolveChunk concode_elem_sep Future<Long> write concode_elem_sep void close concode_elem_sep ByteBuffer getNextChunk concode_elem_sep ByteBuffer getNextChunk
void function ( Exception arg0 ) { ChunkData loc0 = chunksAwaitingResolution . poll ( ) ; if ( loc0 != null ) { loc0 . resolveChunk ( arg0 ) ; } }