Package org.libvirt
Class SchedDoubleParameter
java.lang.Object
org.libvirt.SchedParameter
org.libvirt.SchedDoubleParameter
Class for representing a double scheduler parameter
- Author:
- stoty
-
Field Summary
Fields inherited from class org.libvirt.SchedParameter
field, SCHED_PARAM_BOOLEAN, SCHED_PARAM_DOUBLE, SCHED_PARAM_INT, SCHED_PARAM_LONG, SCHED_PARAM_UINT, SCHED_PARAM_ULONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getType()
The type of the parameterUtility function for displaying the typeUtility function for displaying the valueMethods inherited from class org.libvirt.SchedParameter
copyOf, create, toNative
-
Field Details
-
value
public double valueThe parameter value
-
-
Constructor Details
-
SchedDoubleParameter
public SchedDoubleParameter() -
SchedDoubleParameter
public SchedDoubleParameter(double value)
-
-
Method Details
-
getType
public int getType()Description copied from class:SchedParameter
The type of the parameter- Specified by:
getType
in classSchedParameter
- Returns:
- the Type of the parameter
-
getTypeAsString
Description copied from class:SchedParameter
Utility function for displaying the type- Specified by:
getTypeAsString
in classSchedParameter
- Returns:
- the Type of the parameter as string
-
getValueAsString
Description copied from class:SchedParameter
Utility function for displaying the value- Specified by:
getValueAsString
in classSchedParameter
- Returns:
- the value of the parameter in String form
-