public static enum ByteBufAccessBenchmark.ByteBufType extends Enum<ByteBufAccessBenchmark.ByteBufType>
| Enum Constant and Description |
|---|
COMPOSITE |
HEAP |
NIO |
UNSAFE |
UNSAFE_SLICE |
| Modifier and Type | Method and Description |
|---|---|
static ByteBufAccessBenchmark.ByteBufType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBufAccessBenchmark.ByteBufType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBufAccessBenchmark.ByteBufType UNSAFE
public static final ByteBufAccessBenchmark.ByteBufType UNSAFE_SLICE
public static final ByteBufAccessBenchmark.ByteBufType HEAP
public static final ByteBufAccessBenchmark.ByteBufType COMPOSITE
public static final ByteBufAccessBenchmark.ByteBufType NIO
public static ByteBufAccessBenchmark.ByteBufType[] values()
for (ByteBufAccessBenchmark.ByteBufType c : ByteBufAccessBenchmark.ByteBufType.values()) System.out.println(c);
public static ByteBufAccessBenchmark.ByteBufType 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 © 2008–2026 The Netty Project. All rights reserved.