org.jmythapi.protocol.response
Enum ILoad.Props

java.lang.Object
  extended by java.lang.Enum<ILoad.Props>
      extended by org.jmythapi.protocol.response.ILoad.Props
All Implemented Interfaces:
Serializable, Comparable<ILoad.Props>
Enclosing interface:
ILoad

public static enum ILoad.Props
extends Enum<ILoad.Props>

The properties of an ILoad response.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange15-1
LOAD_AVERAGE_NOWDouble[15,-1)XX
LOAD_AVERAGE_LAST_5MINSDouble[15,-1)XX
LOAD_AVERAGE_LAST_15MINSDouble[15,-1)XX


Enum Constant Summary
LOAD_AVERAGE_LAST_15MINS
          Load average of the last 15 minutes.
LOAD_AVERAGE_LAST_5MINS
          Load average of the last 5 minutes.
LOAD_AVERAGE_NOW
          The current backend load.
 
Method Summary
static ILoad.Props valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ILoad.Props[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LOAD_AVERAGE_NOW

public static final ILoad.Props LOAD_AVERAGE_NOW
The current backend load.

See Also:
ILoad.getCurrentLoad()

LOAD_AVERAGE_LAST_5MINS

public static final ILoad.Props LOAD_AVERAGE_LAST_5MINS
Load average of the last 5 minutes.

See Also:
ILoad.getLast5MinsLoad()

LOAD_AVERAGE_LAST_15MINS

public static final ILoad.Props LOAD_AVERAGE_LAST_15MINS
Load average of the last 15 minutes.

See Also:
ILoad.getLast15MinsLoad()
Method Detail

values

public static ILoad.Props[] 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 (ILoad.Props c : ILoad.Props.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ILoad.Props 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 name
NullPointerException - if the argument is null


Copyright © 2008-2013. All Rights Reserved.