test_class.declarator: ioManager = new IOManagerAsync()
test_class.modifier: private static final
test_class.original_string: private static final IOManager ioManager = new IOManagerAsync();
test_class.type: IOManager
test_class.var_name: ioManager
test_class.declarator: mockBuffer = mock(Buffer.class)
test_class.modifier: private static final
test_class.original_string: private static final Buffer mockBuffer = mock(Buffer.class);
test_class.type: Buffer
test_class.var_name: mockBuffer
test_class.declarator: writer
test_class.modifier: private
test_class.original_string: private AsynchronousBufferFileWriter writer;
test_class.type: AsynchronousBufferFileWriter
test_class.var_name: writer
test_class.file: flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/iomanager/AsynchronousBufferFileWriterTest.java
test_class.identifier: AsynchronousBufferFileWriterTest
test_case.body: @Test
  	public void testAddAndHandleRequest() throws Exception {
  		addRequest();
  		assertEquals("Didn't increment number of outstanding requests.", 1, writer.getNumberOfOutstandingRequests());
  
  		handleRequest();
  		assertEquals("Didn't decrement number of outstanding requests.", 0, writer.getNumberOfOutstandingRequests());
  	}
test_case.class_method_signature: AsynchronousBufferFileWriterTest.testAddAndHandleRequest()
test_case.full_signature: @Test public void testAddAndHandleRequest()
test_case.identifier: testAddAndHandleRequest
test_case.invocations: addRequest assertEquals getNumberOfOutstandingRequests handleRequest assertEquals getNumberOfOutstandingRequests
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAddAndHandleRequest()
focal_class.declarator: CALLBACK = new RecyclingCallback()
focal_class.modifier: private static final
focal_class.original_string: private static final RecyclingCallback CALLBACK = new RecyclingCallback();
focal_class.type: RecyclingCallback
focal_class.var_name: CALLBACK
focal_class.file: flink-runtime/src/main/java/org/apache/flink/runtime/io/disk/iomanager/AsynchronousBufferFileWriter.java
focal_class.identifier: AsynchronousBufferFileWriter
focal_class.interfaces: implements BufferFileWriter
focal_class.class_method_signature: AsynchronousBufferFileWriter.AsynchronousBufferFileWriter(ID channelID, RequestQueue<WriteRequest> requestQueue)
focal_class.full_signature: protected  AsynchronousBufferFileWriter(ID channelID, RequestQueue<WriteRequest> requestQueue)
focal_class.identifier: AsynchronousBufferFileWriter
focal_class.modifiers: protected
focal_class.parameters: (ID channelID, RequestQueue<WriteRequest> requestQueue)
focal_class.signature:  AsynchronousBufferFileWriter(ID channelID, RequestQueue<WriteRequest> requestQueue)
focal_class.class_method_signature: AsynchronousBufferFileWriter.writeBlock(Buffer buffer)
focal_class.full_signature: @Override public void writeBlock(Buffer buffer)
focal_class.identifier: writeBlock
focal_class.modifiers: @Override public
focal_class.parameters: (Buffer buffer)
focal_class.return: void
focal_class.signature: void writeBlock(Buffer buffer)
focal_class.class_method_signature: AsynchronousBufferFileWriter.getNumberOfOutstandingRequests()
focal_class.full_signature: @Override public int getNumberOfOutstandingRequests()
focal_class.identifier: getNumberOfOutstandingRequests
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNumberOfOutstandingRequests()
focal_class.class_method_signature: AsynchronousBufferFileWriter.registerAllRequestsProcessedListener(NotificationListener listener)
focal_class.full_signature: @Override public boolean registerAllRequestsProcessedListener(NotificationListener listener)
focal_class.identifier: registerAllRequestsProcessedListener
focal_class.modifiers: @Override public
focal_class.parameters: (NotificationListener listener)
focal_class.return: boolean
focal_class.signature: boolean registerAllRequestsProcessedListener(NotificationListener listener)
focal_class.superclass: extends AsynchronousFileIOChannel<Buffer, WriteRequest>
focal_method.body: @Override
  	public int getNumberOfOutstandingRequests() {
  		return requestsNotReturned.get();
  	}
focal_method.class_method_signature: AsynchronousBufferFileWriter.getNumberOfOutstandingRequests()
focal_method.full_signature: @Override public int getNumberOfOutstandingRequests()
focal_method.identifier: getNumberOfOutstandingRequests
focal_method.invocations: get
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int getNumberOfOutstandingRequests()