Package org.apache.activemq.store
Enum MessageStore.StoreType
- java.lang.Object
-
- java.lang.Enum<MessageStore.StoreType>
-
- org.apache.activemq.store.MessageStore.StoreType
-
- All Implemented Interfaces:
Serializable,Comparable<MessageStore.StoreType>
- Enclosing interface:
- MessageStore
public static enum MessageStore.StoreType extends Enum<MessageStore.StoreType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JDBCJOURNALKAHADBMEMORYTEMP_KAHADB
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageStore.StoreTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MessageStore.StoreType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEMORY
public static final MessageStore.StoreType MEMORY
-
JDBC
public static final MessageStore.StoreType JDBC
-
KAHADB
public static final MessageStore.StoreType KAHADB
-
TEMP_KAHADB
public static final MessageStore.StoreType TEMP_KAHADB
-
JOURNAL
public static final MessageStore.StoreType JOURNAL
-
-
Method Detail
-
values
public static MessageStore.StoreType[] 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 (MessageStore.StoreType c : MessageStore.StoreType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageStore.StoreType 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
-
-