Package org.apache.flink.core.memory
Interface MemorySegmentProvider
-
public interface MemorySegmentProviderThe provider used for requesting and releasing batch of memory segments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrecycleUnpooledMemorySegments(Collection<MemorySegment> segments)Collection<MemorySegment>requestUnpooledMemorySegments(int numberOfSegmentsToRequest)
-
-
-
Method Detail
-
requestUnpooledMemorySegments
Collection<MemorySegment> requestUnpooledMemorySegments(int numberOfSegmentsToRequest) throws IOException
- Throws:
IOException
-
recycleUnpooledMemorySegments
void recycleUnpooledMemorySegments(Collection<MemorySegment> segments) throws IOException
- Throws:
IOException
-
-