public enum BoundedBlockingSubpartitionType extends Enum<BoundedBlockingSubpartitionType>
| 枚举常量和说明 |
|---|
AUTO
Selects the BoundedBlockingSubpartition type based on the current memory architecture.
|
FILE
A BoundedBlockingSubpartition type that simply stores the partition data in a file.
|
FILE_MMAP
Creates a BoundedBlockingSubpartition that stores the partition data in a file and memory
maps that file for reading.
|
MMAP
A BoundedBlockingSubpartition type that stores the partition data in memory mapped file.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract org.apache.flink.runtime.io.network.partition.BoundedBlockingSubpartition |
create(int index,
ResultPartition parent,
File tempFile,
int readBufferSize,
boolean sslEnabled)
Creates BoundedBlockingSubpartition of this type.
|
static BoundedBlockingSubpartitionType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static BoundedBlockingSubpartitionType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final BoundedBlockingSubpartitionType FILE
public static final BoundedBlockingSubpartitionType MMAP
public static final BoundedBlockingSubpartitionType FILE_MMAP
MMAP variant is
that no I/O is necessary when pages from the memory mapped file are evicted.public static final BoundedBlockingSubpartitionType AUTO
public static BoundedBlockingSubpartitionType[] values()
for (BoundedBlockingSubpartitionType c : BoundedBlockingSubpartitionType.values()) System.out.println(c);
public static BoundedBlockingSubpartitionType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public abstract org.apache.flink.runtime.io.network.partition.BoundedBlockingSubpartition create(int index,
ResultPartition parent,
File tempFile,
int readBufferSize,
boolean sslEnabled)
throws IOException
IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.