public enum BufferAllocatorType extends Enum<BufferAllocatorType>
MaxMessagesRecvByteBufAllocator
,
FixedRecvByteBufAllocator
,
AdaptiveRecvByteBufAllocator
Modifier and Type | Method and Description |
---|---|
static BufferAllocatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferAllocatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferAllocatorType ADAPTIVE
public static final BufferAllocatorType FIXED
public static BufferAllocatorType[] values()
for (BufferAllocatorType c : BufferAllocatorType.values()) System.out.println(c);
public static BufferAllocatorType 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 nullCopyright © 2016–2024. All rights reserved.