Package org.libvirt
Class SchedUintParameter
- java.lang.Object
-
- org.libvirt.SchedParameter
-
- org.libvirt.SchedUintParameter
-
public final class SchedUintParameter extends SchedParameter
Class for representing an unsigned int scheduler parameter- Author:
- stoty
-
-
Field Summary
Fields Modifier and Type Field Description int
value
The parameter value-
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
Constructors Constructor Description SchedUintParameter()
SchedUintParameter(int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getType()
The type of the parameterjava.lang.String
getTypeAsString()
Utility function for displaying the typejava.lang.String
getValueAsString()
Utility function for displaying the value-
Methods inherited from class org.libvirt.SchedParameter
copyOf, create, toNative
-
-
-
-
Method Detail
-
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
public java.lang.String 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
public java.lang.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
-
-