public enum HotArchiveBucketEntryType extends java.lang.Enum<HotArchiveBucketEntryType> implements XdrElement
enum HotArchiveBucketEntryType { HOT_ARCHIVE_METAENTRY = -1, // Bucket metadata, should come first. HOT_ARCHIVE_ARCHIVED = 0, // Entry is Archived HOT_ARCHIVE_LIVE = 1 // Entry was previously HOT_ARCHIVE_ARCHIVED, but // has been added back to the live BucketList. // Does not need to be persisted. };
Enum Constant and Description |
---|
HOT_ARCHIVE_ARCHIVED |
HOT_ARCHIVE_LIVE |
HOT_ARCHIVE_METAENTRY |
Modifier and Type | Method and Description |
---|---|
static HotArchiveBucketEntryType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static HotArchiveBucketEntryType |
fromXdrBase64(java.lang.String xdr) |
static HotArchiveBucketEntryType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static HotArchiveBucketEntryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HotArchiveBucketEntryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toXdrBase64, toXdrByteArray
public static final HotArchiveBucketEntryType HOT_ARCHIVE_METAENTRY
public static final HotArchiveBucketEntryType HOT_ARCHIVE_ARCHIVED
public static final HotArchiveBucketEntryType HOT_ARCHIVE_LIVE
public static HotArchiveBucketEntryType[] values()
for (HotArchiveBucketEntryType c : HotArchiveBucketEntryType.values()) System.out.println(c);
public static HotArchiveBucketEntryType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static HotArchiveBucketEntryType decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static HotArchiveBucketEntryType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static HotArchiveBucketEntryType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException