Package com.zeroc.IceGrid
Enum Class LoadSample
- All Implemented Interfaces:
Serializable
,Comparable<LoadSample>
,Constable
Determines which load sampling interval to use.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSample every minute.Sample every fifteen minutes.Sample every five minutes. -
Method Summary
Modifier and TypeMethodDescriptionstatic LoadSample
ice_read
(InputStream istr) static Optional<LoadSample>
ice_read
(InputStream istr, int tag) void
ice_write
(OutputStream ostr) static void
ice_write
(OutputStream ostr, int tag, LoadSample v) static void
ice_write
(OutputStream ostr, int tag, Optional<LoadSample> v) static void
ice_write
(OutputStream ostr, LoadSample v) int
value()
static LoadSample
valueOf
(int v) Returns the enum constant of this class with the specified name.static LoadSample
Returns the enum constant of this class with the specified name.static LoadSample[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LoadSample1
Sample every minute. -
LoadSample5
Sample every five minutes. -
LoadSample15
Sample every fifteen minutes.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
v
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
ice_write
-
ice_write
-
ice_read
-
ice_write
-
ice_write
-
ice_read
-