Package org.libvirt
Class SchedLongParameter
java.lang.Object
org.libvirt.SchedParameter
org.libvirt.SchedLongParameter
Class for representing a long int 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 long valueThe parameter value
-
-
Constructor Details
-
SchedLongParameter
public SchedLongParameter() -
SchedLongParameter
public SchedLongParameter(long 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
-