Package com.github.ambry.cloud.azure
Enum AzureReplicationFeed.FeedType
- java.lang.Object
-
- java.lang.Enum<AzureReplicationFeed.FeedType>
-
- com.github.ambry.cloud.azure.AzureReplicationFeed.FeedType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AzureReplicationFeed.FeedType>
- Enclosing interface:
- AzureReplicationFeed
public static enum AzureReplicationFeed.FeedType extends java.lang.Enum<AzureReplicationFeed.FeedType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COSMOS_CHANGE_FEED
Replication feed is obtained from cosmos change feed apiCOSMOS_UPDATE_TIME
Replication feed is obtained from cosmos queries ordered by update time
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AzureReplicationFeed.FeedType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AzureReplicationFeed.FeedType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COSMOS_CHANGE_FEED
public static final AzureReplicationFeed.FeedType COSMOS_CHANGE_FEED
Replication feed is obtained from cosmos change feed api
-
COSMOS_UPDATE_TIME
public static final AzureReplicationFeed.FeedType COSMOS_UPDATE_TIME
Replication feed is obtained from cosmos queries ordered by update time
-
-
Method Detail
-
values
public static AzureReplicationFeed.FeedType[] 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 (AzureReplicationFeed.FeedType c : AzureReplicationFeed.FeedType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AzureReplicationFeed.FeedType 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
-
-