public enum BoundedBlockingSubpartitionType extends Enum<BoundedBlockingSubpartitionType>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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)
Returns the enum constant of this type with the specified name.
|
static BoundedBlockingSubpartitionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract org.apache.flink.runtime.io.network.partition.BoundedBlockingSubpartition create(int index, ResultPartition parent, File tempFile, int readBufferSize, boolean sslEnabled) throws IOException
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.