Package one.microstream.storage.types
Enum StorageTransactionsEntryType
- java.lang.Object
-
- java.lang.Enum<StorageTransactionsEntryType>
-
- one.microstream.storage.types.StorageTransactionsEntryType
-
- All Implemented Interfaces:
Serializable,Comparable<StorageTransactionsEntryType>
public enum StorageTransactionsEntryType extends Enum<StorageTransactionsEntryType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_STOREDATA_TRANSFERFILE_CREATIONFILE_DELETIONFILE_TRUNCATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytecode()static StorageTransactionsEntryTypefromCode(byte code)intlength()StringtoString()StringtypeName()static StorageTransactionsEntryTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StorageTransactionsEntryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE_CREATION
public static final StorageTransactionsEntryType FILE_CREATION
-
DATA_STORE
public static final StorageTransactionsEntryType DATA_STORE
-
DATA_TRANSFER
public static final StorageTransactionsEntryType DATA_TRANSFER
-
FILE_TRUNCATION
public static final StorageTransactionsEntryType FILE_TRUNCATION
-
FILE_DELETION
public static final StorageTransactionsEntryType FILE_DELETION
-
-
Method Detail
-
values
public static StorageTransactionsEntryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StorageTransactionsEntryType c : StorageTransactionsEntryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StorageTransactionsEntryType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
code
public byte code()
-
typeName
public String typeName()
-
length
public int length()
-
toString
public String toString()
- Overrides:
toStringin classEnum<StorageTransactionsEntryType>
-
fromCode
public static StorageTransactionsEntryType fromCode(byte code)
-
-