Package org.apache.flink.core.memory
Interface MemorySegmentSource
-
- All Known Subinterfaces:
MemorySegmentPool
- All Known Implementing Classes:
BaseHybridHashTable
,BinaryHashTable
,BytesHashMapSpillMemorySegmentPool
,LazyMemorySegmentPool
,ListMemorySegmentPool
,ListMemorySegmentSource
,LongHybridHashTable
,MutableHashTable
,ReOpenableMutableHashTable
@Internal public interface MemorySegmentSource
Interface describing entities that can provide memory segments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MemorySegment
nextSegment()
Gets the next memory segment.
-
-
-
Method Detail
-
nextSegment
MemorySegment nextSegment()
Gets the next memory segment. If no more segments are available, it returns null.- Returns:
- The next memory segment, or null, if none is available.
-
-