com.ibm.streams.management.domain
Enum DomainMXBean.CheckpointRepository
- java.lang.Object
-
- java.lang.Enum<DomainMXBean.CheckpointRepository>
-
- com.ibm.streams.management.domain.DomainMXBean.CheckpointRepository
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DomainMXBean.CheckpointRepository>
- Enclosing interface:
- DomainMXBean
public static enum DomainMXBean.CheckpointRepository extends java.lang.Enum<DomainMXBean.CheckpointRepository>
Enumeration for the repository used to store application checkpoint entries.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description FILE_SYSTEMApplication checkpoint entries are stored in the file system.IBM_CLOUD_OBJECT_STORAGEApplication checkpoint entries are stored in an IBM Cloud Object Storage repository.NOT_SPECIFIEDA storage repository for application checkpoint entries has not been set.REDISApplication checkpoint entries are stored in a Redis repository.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static DomainMXBean.CheckpointRepositoryfromString(java.lang.String repository)Converts from a string representation of a checkpoint repository to the corresponding enumeration value.java.lang.StringtoString()Converts the enumeration value to a string.static DomainMXBean.CheckpointRepositoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DomainMXBean.CheckpointRepository[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE_SYSTEM
public static final DomainMXBean.CheckpointRepository FILE_SYSTEM
Application checkpoint entries are stored in the file system.
-
IBM_CLOUD_OBJECT_STORAGE
public static final DomainMXBean.CheckpointRepository IBM_CLOUD_OBJECT_STORAGE
Application checkpoint entries are stored in an IBM Cloud Object Storage repository.
-
NOT_SPECIFIED
public static final DomainMXBean.CheckpointRepository NOT_SPECIFIED
A storage repository for application checkpoint entries has not been set.
-
REDIS
public static final DomainMXBean.CheckpointRepository REDIS
Application checkpoint entries are stored in a Redis repository.
-
-
Method Detail
-
values
public static DomainMXBean.CheckpointRepository[] 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 (DomainMXBean.CheckpointRepository c : DomainMXBean.CheckpointRepository.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DomainMXBean.CheckpointRepository valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
Converts the enumeration value to a string.- Overrides:
toStringin classjava.lang.Enum<DomainMXBean.CheckpointRepository>- Returns:
- a string representation of the CheckpointRepository value.
-
fromString
public static DomainMXBean.CheckpointRepository fromString(java.lang.String repository)
Converts from a string representation of a checkpoint repository to the corresponding enumeration value.- Parameters:
repository- specifies a repository string value.- Returns:
- the corresponding CheckpointRepository enumeration value.
- Throws:
java.lang.IllegalArgumentException- if the input string does not map to an enumeration value.java.lang.NullPointerException- if the input value is null.
-
-