public static enum ReplicationSyncFileMessage.FileType extends Enum<ReplicationSyncFileMessage.FileType>
Enum Constant and Description |
---|
JOURNAL |
LARGE_MESSAGE |
PAGE |
Modifier and Type | Method and Description |
---|---|
static ReplicationSyncFileMessage.FileType |
getFileType(byte readByte) |
static ReplicationSyncFileMessage.FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationSyncFileMessage.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationSyncFileMessage.FileType JOURNAL
public static final ReplicationSyncFileMessage.FileType PAGE
public static final ReplicationSyncFileMessage.FileType LARGE_MESSAGE
public static ReplicationSyncFileMessage.FileType[] values()
for (ReplicationSyncFileMessage.FileType c : ReplicationSyncFileMessage.FileType.values()) System.out.println(c);
public static ReplicationSyncFileMessage.FileType 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 ReplicationSyncFileMessage.FileType getFileType(byte readByte)
readByte
- ReplicationSyncFileMessage.FileType
corresponding to the byte code.Copyright © 2016 JBoss by Red Hat. All rights reserved.