Package com.splunk.logging
Enum HttpEventCollectorSender.SendMode
- java.lang.Object
-
- java.lang.Enum<HttpEventCollectorSender.SendMode>
-
- com.splunk.logging.HttpEventCollectorSender.SendMode
-
- All Implemented Interfaces:
Serializable
,Comparable<HttpEventCollectorSender.SendMode>
- Enclosing class:
- HttpEventCollectorSender
public static enum HttpEventCollectorSender.SendMode extends Enum<HttpEventCollectorSender.SendMode>
Sender operation mode. Parallel means that all HTTP requests are asynchronous and may be indexed out of order. Sequential mode guarantees sequential order of the indexed events.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Parallel
Sequential
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpEventCollectorSender.SendMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static HttpEventCollectorSender.SendMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Sequential
public static final HttpEventCollectorSender.SendMode Sequential
-
Parallel
public static final HttpEventCollectorSender.SendMode Parallel
-
-
Method Detail
-
values
public static HttpEventCollectorSender.SendMode[] 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 (HttpEventCollectorSender.SendMode c : HttpEventCollectorSender.SendMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpEventCollectorSender.SendMode 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
-
-