void restorePartitionBuffers ( IOManager ioManager , List < MemorySegment > availableMemory ) throws IOException { final BulkBlockChannelReader reader = ioManager . createBulkBlockChannelReader ( this . initialBuildSideChannel , availableMemory , this . initialPartitionBuffersCount ) ; reader . close ( ) ; final List < MemorySegment > partitionBuffersFromDisk = reader . getFullSegments ( ) ; this . partitionBuffers = ( MemorySegment [ ] ) partitionBuffersFromDisk . toArray ( new MemorySegment [ partitionBuffersFromDisk . size ( ) ] ) ; this . overflowSegments = new MemorySegment [ 2 ] ; this . numOverflowSegments = 0 ; this . nextOverflowBucket = 0 ; this . isRestored = true ; }
This method is called every time a multi - match hash map is opened again for a new probe input .