static enum ConcurrentLinkedHashMap.DrainStatus extends Enum<ConcurrentLinkedHashMap.DrainStatus>
| Enum Constant and Description |
|---|
IDLE
A drain is not taking place.
|
PROCESSING
A drain is in progress.
|
REQUIRED
A drain is required due to a pending write modification.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract boolean |
shouldDrainBuffers(boolean delayable)
Determines whether the buffers should be drained.
|
static ConcurrentLinkedHashMap.DrainStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConcurrentLinkedHashMap.DrainStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConcurrentLinkedHashMap.DrainStatus IDLE
public static final ConcurrentLinkedHashMap.DrainStatus REQUIRED
public static final ConcurrentLinkedHashMap.DrainStatus PROCESSING
public static ConcurrentLinkedHashMap.DrainStatus[] values()
for (ConcurrentLinkedHashMap.DrainStatus c : ConcurrentLinkedHashMap.DrainStatus.values()) System.out.println(c);
public static ConcurrentLinkedHashMap.DrainStatus 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 nullabstract boolean shouldDrainBuffers(boolean delayable)
delayable - if a drain should be delayed until requiredCopyright © 2010-2020 Toolsverse. All Rights Reserved.