public void registerBufferPool ( BufferPool bufferPool ) { checkArgument ( bufferPool . getNumberOfRequiredMemorySegments ( ) >= getNumberOfSubpartitions ( ) , "Bug in result partition setup logic: Buffer pool has not enough guaranteed buffers for this result partition." ) ; checkState ( this . bufferPool == null , "Bug in result partition setup logic: Already registered buffer pool." ) ; this . bufferPool = checkNotNull ( bufferPool ) ; }
Registers a buffer pool with this result partition .