public enum LogChunkType extends Enum<LogChunkType>
Enum Constant and Description |
---|
BAD_CHUNK |
EOF |
FIRST |
FULL |
LAST |
MIDDLE |
UNKNOWN |
ZERO_TYPE |
Modifier and Type | Method and Description |
---|---|
static LogChunkType |
getLogChunkTypeByPersistentId(int persistentId) |
int |
getPersistentId() |
static LogChunkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogChunkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogChunkType ZERO_TYPE
public static final LogChunkType FULL
public static final LogChunkType FIRST
public static final LogChunkType MIDDLE
public static final LogChunkType LAST
public static final LogChunkType EOF
public static final LogChunkType BAD_CHUNK
public static final LogChunkType UNKNOWN
public static LogChunkType[] values()
for (LogChunkType c : LogChunkType.values()) System.out.println(c);
public static LogChunkType 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 static LogChunkType getLogChunkTypeByPersistentId(int persistentId)
public int getPersistentId()
Copyright © 2011–2019. All rights reserved.