public enum ResultPartitionType extends Enum<ResultPartitionType>
Enum Constant and Description |
---|
BLOCKING |
PIPELINED |
PIPELINED_BOUNDED
Pipelined partitions with a bounded (local) buffer pool.
|
PIPELINED_CREDIT_BASED
Pipelined partitions with a bounded (local) buffer pool for floating buffers in input gate, and a number
of exclusive buffers per input channel.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasBackPressure() |
boolean |
isBlocking() |
boolean |
isBounded()
Whether this partition uses a limited number of (network) buffers or not.
|
boolean |
isCreditBased()
Whether this partition uses the credit-based mode to transfer data or not.
|
boolean |
isPipelined() |
static ResultPartitionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultPartitionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultPartitionType BLOCKING
public static final ResultPartitionType PIPELINED
public static final ResultPartitionType PIPELINED_BOUNDED
PIPELINED
) since there are
no checkpoint barriers.public static final ResultPartitionType PIPELINED_CREDIT_BASED
public static ResultPartitionType[] values()
for (ResultPartitionType c : ResultPartitionType.values()) System.out.println(c);
public static ResultPartitionType 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 boolean hasBackPressure()
public boolean isBlocking()
public boolean isPipelined()
public boolean isBounded()
public boolean isCreditBased()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.